mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 11:45:34 +00:00
chore: changed cold start requirements
This commit is contained in:
@@ -97,7 +97,9 @@ export const useStore = defineStore({
|
|||||||
|
|
||||||
stockSupportsColdStart: (state) => {
|
stockSupportsColdStart: (state) => {
|
||||||
if (state.stockList.length == 0) return false;
|
if (state.stockList.length == 0) return false;
|
||||||
|
|
||||||
if (!isTractionUnit(state.stockList[0].vehicleRef)) return false;
|
if (!isTractionUnit(state.stockList[0].vehicleRef)) return false;
|
||||||
|
else if (state.stockList.length > 1) return false;
|
||||||
|
|
||||||
const headingLoco = state.stockList[0];
|
const headingLoco = state.stockList[0];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user