fix: niepoprawne miniaturki pojazdów

This commit is contained in:
2024-03-11 23:49:45 +01:00
parent 29b5e715fa
commit 0f4e5ee5f3
+1 -1
View File
@@ -98,7 +98,7 @@ export default defineComponent({
onImageError(event: Event, stockName: string) { onImageError(event: Event, stockName: string) {
let fallbackName = ''; let fallbackName = '';
const isLoco = /.-\d/.test(stockName); const isLoco = /.-\d{3}/.test(stockName);
if (isLoco) { if (isLoco) {
fallbackName += 'loco-'; fallbackName += 'loco-';