Wybór ładunku, podgląd i wyłączanie z losowania

This commit is contained in:
2022-11-06 19:08:48 +01:00
parent 3c5a9d2d0c
commit e0d8aabfd9
7 changed files with 184 additions and 93 deletions
+3 -4
View File
@@ -91,10 +91,12 @@ export default defineComponent({
const stockArray = stockString.split(';');
this.store.stockList.length = 0;
this.store.chosenVehicle = null;
this.store.chosenCar = null;
this.store.chosenCargo = null;
this.store.chosenLoco = null;
this.store.chosenStockListIndex = -1;
this.store.swapVehicles = false;
stockArray.forEach((type, i) => {
@@ -105,9 +107,6 @@ export default defineComponent({
this.addVehicle(vehicle);
});
this.store.chosenStockListIndex = -1;
this.store.chosenVehicle = null;
this.store.isRealStockListCardOpen = false;
},