From 867ba7746d8fdd44e71af49df501c083c7c91a2e Mon Sep 17 00:00:00 2001 From: Ron Date: Mon, 14 Apr 2025 23:00:18 +0300 Subject: [PATCH] feat: fix menu --- pages/dashboard.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/dashboard.vue b/pages/dashboard.vue index e6cf586..242454c 100644 --- a/pages/dashboard.vue +++ b/pages/dashboard.vue @@ -127,4 +127,12 @@ const logOut = async () => { await logout(); return navigateTo("/login"); }; + +onMounted(() => { + if (mdAndDown.value) { + return; + } + + drawer.value = true; +})