From e75de8b9f4d386c8517bbbda81fab87d66518443 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 1 Sep 2025 10:42:35 +0200 Subject: [PATCH] Fix board dashboard layout - now uses correct board layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Changed board dashboard from 'dashboard' layout to 'board' layout - This fixes the missing hamburger menu and sidebar toggle functionality - Removed debug console.log statements from board layout - Board dashboard now has same sidebar behavior as admin and member dashboards The issue was that board/dashboard/index.vue was using the old 'dashboard' layout instead of the proper 'board' layout that has rail mode support. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- layouts/board.vue | 5 ----- pages/board/dashboard/index.vue | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/layouts/board.vue b/layouts/board.vue index 70de208..2e70f92 100644 --- a/layouts/board.vue +++ b/layouts/board.vue @@ -478,9 +478,6 @@ const memberData = computed(() => sessionData.value?.member || nu // Load board-specific notifications onMounted(async () => { - // Debug initial state - console.log('Board layout mounted - drawer:', drawer.value, 'miniVariant:', miniVariant.value); - try { const [notificationsRes, applicationsRes] = await Promise.all([ $fetch('/api/board/notifications/count'), @@ -495,9 +492,7 @@ onMounted(async () => { }); const toggleDrawer = () => { - console.log('Board toggleDrawer called, current miniVariant:', miniVariant.value); miniVariant.value = !miniVariant.value; - console.log('Board miniVariant after toggle:', miniVariant.value); }; const toggleSearch = () => { diff --git a/pages/board/dashboard/index.vue b/pages/board/dashboard/index.vue index 979140a..f1636e3 100644 --- a/pages/board/dashboard/index.vue +++ b/pages/board/dashboard/index.vue @@ -144,7 +144,7 @@ import type { Member } from '~/utils/types'; definePageMeta({ - layout: 'dashboard', + layout: 'board', middleware: 'auth' });