mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 05:18:10 +00:00
Drobne poprawki
This commit is contained in:
@@ -157,7 +157,12 @@ export function chosenRealStock(state: IStore) {
|
||||
}, [] as string[])
|
||||
.join(';');
|
||||
|
||||
return Object.values(state.readyStockList).find((readyStock) => readyStock.stockString == currentStockString);
|
||||
|
||||
const realStockObj = Object.values(state.readyStockList).find((readyStock) => readyStock.stockString == currentStockString);
|
||||
|
||||
state.chosenRealStockName = realStockObj ? `${realStockObj.type} ${realStockObj.number} ${realStockObj.name}` : undefined;
|
||||
|
||||
return realStockObj;
|
||||
}
|
||||
|
||||
// export function maxAllowedSpeed(state: IStore) {
|
||||
|
||||
Reference in New Issue
Block a user