bugfixing
This commit is contained in:
parent
7ed80d8f64
commit
129d060107
@ -249,6 +249,14 @@ async function handleDeleteTickers() {
|
|||||||
|
|
||||||
deleteTickerList = [];
|
deleteTickerList = [];
|
||||||
numberOfChecked = 0;
|
numberOfChecked = 0;
|
||||||
|
allList = allList?.map(item => {
|
||||||
|
if (item?.id === displayWatchList?.id) {
|
||||||
|
return { ...item, ticker: watchList }; // Update ticker with watchlist
|
||||||
|
}
|
||||||
|
return item; // Return unchanged item if condition doesn't match
|
||||||
|
});
|
||||||
|
|
||||||
|
allList = [...allList];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user