Compare commits

...

3 Commits

Author SHA1 Message Date
Spythere 2106675a0a Merge pull request #38 from Spythere/development
v1.8.12
2024-10-22 21:31:37 +02:00
Spythere 1b68e0174d bump: v1.8.12 2024-10-22 20:54:35 +02:00
Spythere b47f692ac1 fix: typos; updated images api source 2024-10-22 20:54:24 +02:00
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "pojazdownik",
"version": "1.8.11",
"version": "1.8.12",
"private": true,
"type": "module",
"scripts": {
+1 -1
View File
@@ -76,7 +76,7 @@
<div class="thumbnail-container">
<div>{{ stockType }}</div>
<img
:src="`https://static.spythere.eu/thumbnails/${stockType}.png`"
:src="`https://stacjownik.spythere.eu/static/thumbnails/${stockType}.png`"
:title="stockType"
style="opacity: 0"
@error="(e) => onStockItemError(e, stockType)"
+1 -1
View File
@@ -28,7 +28,7 @@
v-for="thumbnail in getVehicleThumbnails(stock.vehicleRef.type)"
draggable="false"
style="min-width: 200px"
:src="`https://static.spythere.eu/thumbnails/v2/${thumbnail.src}.png`"
:src="`https://stacjownik.spythere.eu/static/thumbnails/${thumbnail.src}.png`"
:alt="stock.vehicleRef.type"
:title="stock.vehicleRef.type"
@load="($event) => (($event.target as HTMLImageElement).style.minWidth = 'auto')"
+1 -1
View File
@@ -137,7 +137,7 @@
"MM": "MM - międzynar. pośpieszny",
"MH": "MH - międzywoj. pośpieszny hotelowy",
"RM": "RM - woj. osobowy międzynarodowy",
"RA": "RA - woj. osobowy algomeracyjny",
"RA": "RA - woj. osobowy aglomeracyjny",
"PW": "PW - pasażerski próżny - służbowy",
"PX": "PX - pasażerski próżny próbny",
+1 -1
View File
@@ -7,7 +7,7 @@ export default defineComponent({
},
getThumbnailURL(vehicleType: string, size: 'small' | 'large') {
return `https://static.spythere.eu/images/${vehicleType}--${size == 'small' ? 300 : 800}px.jpg`;
return `https://stacjownik.spythere.eu/static/images/${vehicleType}--${size == 'small' ? 300 : 800}px.jpg`;
},
},
});