mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 19:48:11 +00:00
modal realnych zestawień: przerobiono wygląd; poprawiono performance
This commit is contained in:
@@ -152,9 +152,7 @@ export function chosenRealStock(state: IStore) {
|
||||
}, [] as string[])
|
||||
.join(';');
|
||||
|
||||
const realStockObj = Object.values(state.readyStockList).find(
|
||||
(readyStock) => readyStock.stockString == currentStockString
|
||||
);
|
||||
const realStockObj = state.readyStockList.find((readyStock) => readyStock.stockString == currentStockString);
|
||||
|
||||
state.chosenRealStockName = realStockObj
|
||||
? `${realStockObj.type} ${realStockObj.number} ${realStockObj.name}`
|
||||
|
||||
Reference in New Issue
Block a user