deleteGlobalPortfolioSettings added

This commit is contained in:
Justin 2023-09-26 15:50:50 +08:00 committed by GitHub
parent 046775c2d3
commit d5c3f032c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -655,6 +655,17 @@ allFeaturesRemoveBtns.map((value, index) => {
});
displaySavePrompt2();
}
else if ((item.getAttribute("class") == "active") && (index == 26 )){
let symbol = item.innerText;
item.remove();
uploaded_images = [];
uploaded_GIFs = [];
fetch("/deleteGlobalPortfolioSettings", {
method: "POST",
body: JSON.stringify(symbol),
});
displaySavePrompt2();
}
else if (item.getAttribute("class") == "active") {
item.remove();
uploaded_images = [];