diff --git a/frontend/src/components/prompts/Delete.vue b/frontend/src/components/prompts/Delete.vue index e9689a36..4559b38a 100644 --- a/frontend/src/components/prompts/Delete.vue +++ b/frontend/src/components/prompts/Delete.vue @@ -45,7 +45,7 @@ export default { submit: async function () { buttons.loading("delete"); - window.sessionStorage.setItem('modified', "true"); + window.sessionStorage.setItem("modified", "true"); try { if (!this.isListing) { await api.remove(this.$route.path); @@ -75,8 +75,8 @@ export default { this.$showError(e); if (this.isListing) this.$store.commit("setReload", true); } - Vue.nextTick(() => { - window.sessionStorage.setItem('modified', "false"); + nextTick(() => { + window.sessionStorage.setItem("modified", "false"); }); }, },