From 020bd23c8aa872484c1aa761171f7ccc586551cc Mon Sep 17 00:00:00 2001 From: Gordon Lin <75815453+gordlin@users.noreply.github.com> Date: Tue, 28 Jan 2025 14:29:16 -0500 Subject: [PATCH] Fix --- src/app.vue | 7 +------ src/components/editor.vue | 16 ++++++++++------ 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/app.vue b/src/app.vue index 9a60b07a85..d03a7cc620 100644 --- a/src/app.vue +++ b/src/app.vue @@ -1,8 +1,5 @@ @@ -14,8 +11,6 @@ import { useUserStore } from './stores/userStore'; import { useLockStore } from './stores/lockStore'; export default class App extends Vue { - currentPath = window.location.href; - @Watch('$route', { immediate: true }) onRouteUpdate(to: RouteLocationNormalized): void { this.$i18n.locale = (to.params.lang as string) ?? 'en'; diff --git a/src/components/editor.vue b/src/components/editor.vue index a9d419a371..1fb7175363 100644 --- a/src/components/editor.vue +++ b/src/components/editor.vue @@ -4,7 +4,7 @@
-
+
@@ -427,7 +427,7 @@
-
+