diff --git a/ui/app/components/Settings.vue b/ui/app/components/Settings.vue deleted file mode 100644 index 312f176b..00000000 --- a/ui/app/components/Settings.vue +++ /dev/null @@ -1,169 +0,0 @@ - - - diff --git a/ui/app/components/Simple.vue b/ui/app/components/Simple.vue index a24e7dc9..94c9346b 100644 --- a/ui/app/components/Simple.vue +++ b/ui/app/components/Simple.vue @@ -6,9 +6,9 @@
@@ -544,6 +544,15 @@ const showMessage = (item: StoreItem) => { return (item.msg?.length || 0) > 0 } + +const changeRoute = async (_: MouseEvent, callback: (() => void) | null = null) => { + showMenu.value = false + document.querySelectorAll('div.has-dropdown').forEach(el => el.classList.remove('is-active')) + if (callback) { + callback() + } +} + const connectionStatusColor = computed(() => { switch (socketStore.connectionStatus) { case 'connected': diff --git a/ui/app/layouts/default.vue b/ui/app/layouts/default.vue index 94e61737..284a65f7 100644 --- a/ui/app/layouts/default.vue +++ b/ui/app/layouts/default.vue @@ -2,14 +2,7 @@ - -