delete crypto portfolio settings
This commit is contained in:
@@ -535,6 +535,16 @@ allFeaturesRemoveBtns.map((value, index) => {
|
|||||||
body: JSON.stringify(symbol),
|
body: JSON.stringify(symbol),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
else if ((item.getAttribute("class") == "active") && (index == 1 )){
|
||||||
|
let symbol = item.innerText;
|
||||||
|
item.remove();
|
||||||
|
uploaded_images = [];
|
||||||
|
uploaded_GIFs = [];
|
||||||
|
fetch("/deletePortfolioCryptoSettings", {
|
||||||
|
method: "POST",
|
||||||
|
body: JSON.stringify(symbol),
|
||||||
|
});
|
||||||
|
}
|
||||||
else if (item.getAttribute("class") == "active") {
|
else if (item.getAttribute("class") == "active") {
|
||||||
item.remove();
|
item.remove();
|
||||||
uploaded_images = [];
|
uploaded_images = [];
|
||||||
|
Reference in New Issue
Block a user