From 38b5d164675f92ef7667517507ffea8fbd4836ec Mon Sep 17 00:00:00 2001 From: Matt Isenhower Date: Thu, 7 Nov 2024 09:31:28 -0800 Subject: [PATCH] Fix the fix --- .eslintrc.cjs | 1 + src/web/components/Main.vue | 2 +- src/web/components/Modal.vue | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 981ba60..ef813bf 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -23,6 +23,7 @@ module.exports = { 'vue/html-self-closing': ['warn', { html: { void: 'always' } }], 'vue/no-deprecated-filter': 'off', 'vue/require-toggle-inside-transition': 'off', + 'vue/no-deprecated-destroyed-lifecycle': 'off', }, 'globals': { '__dirname': 'readonly', diff --git a/src/web/components/Main.vue b/src/web/components/Main.vue index 41b0330..5541c67 100644 --- a/src/web/components/Main.vue +++ b/src/web/components/Main.vue @@ -277,7 +277,7 @@ export default { this.startUpdatingNow(); this.startUpdatingData(); }, - beforeUnmount() { + beforeDestroy() { this.stopUpdatingNow(); this.stopUpdatingData(); this.shutdown(); diff --git a/src/web/components/Modal.vue b/src/web/components/Modal.vue index 115de84..fc451ea 100644 --- a/src/web/components/Modal.vue +++ b/src/web/components/Modal.vue @@ -66,7 +66,7 @@ export default { mounted() { opened(this); }, - beforeUnmount() { + beforeDestroy() { closed(this); }, methods: {