delete crypto portfolio settings
This commit is contained in:
parent
2edb5540fd
commit
35564f2d98
@ -535,6 +535,16 @@ allFeaturesRemoveBtns.map((value, index) => {
|
||||
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") {
|
||||
item.remove();
|
||||
uploaded_images = [];
|
||||
|
Loading…
Reference in New Issue
Block a user