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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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')