mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 05:18:10 +00:00
realne zestawienia: zapamiętywanie pozycji scrolla; ostatni wybrany pociąg
This commit is contained in:
@@ -154,9 +154,7 @@ export function chosenRealStock(state: IStore) {
|
||||
|
||||
const realStockObj = state.readyStockList.find((readyStock) => readyStock.stockString == currentStockString);
|
||||
|
||||
state.chosenRealStockName = realStockObj
|
||||
? `${realStockObj.type} ${realStockObj.number} ${realStockObj.name}`
|
||||
: undefined;
|
||||
state.chosenRealStockName = realStockObj?.stockId ?? undefined;
|
||||
|
||||
return realStockObj;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user