bugfixing

This commit is contained in:
MuslemRahimi 2024-10-11 18:42:32 +02:00
parent 7ed80d8f64
commit 129d060107

View File

@ -249,6 +249,14 @@ async function handleDeleteTickers() {
deleteTickerList = [];
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];
}