Fix refresh page after delete content

This commit is contained in:
AlphaX-Projects
2022-02-13 15:53:58 +01:00
committed by GitHub
parent 3eac251a18
commit 263b0e5c5a

View File

@@ -363,7 +363,7 @@ class DataManagement extends LitElement {
if (ret === true) {
// Successfully deleted - so refresh the page
this.getArbitraryResources();
window.location.reload();
}
else {
parentEpml.request('showSnackBar', 'Error occurred when trying to delete this resource. Please try again')