This commit is contained in:
2024-03-27 16:13:33 +01:00
parent 337425d21c
commit 43a724bf13
2 changed files with 0 additions and 19 deletions
-17
View File
@@ -68,23 +68,6 @@ export const useStore = defineStore({
isTrainPassenger: (state) => isTrainPassenger(state.stockList),
acceptableWeight: (state) => acceptableWeight(state.stockList),
// chosenRealStock: (state) => {
// const currentStockString = state.stockList
// .reduce((acc, stock) => {
// for (let i = 0; i < stock.count; i++) acc.push(stock.type);
// return acc;
// }, [] as string[])
// .join(';');
// // const realStockObj = vehilcesData.realCompositions.find((readyStock) => readyStock.stockString == currentStockString);
// // state.chosenRealStockName = realStockObj?.stockId ?? undefined;
// state
// // return state.r.find((readyStock) => readyStock.stockString == currentStockString);
// },
realCompositionList: (state) => {
if (!state.vehiclesAPIData) return [];