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