Fix board dashboard layout - now uses correct board layout
Build And Push Image / docker (push) Successful in 2m2s Details

- 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 <noreply@anthropic.com>
This commit is contained in:
Matt 2025-09-01 10:42:35 +02:00
parent 0199e5ba8c
commit e75de8b9f4
2 changed files with 1 additions and 6 deletions

View File

@ -478,9 +478,6 @@ const memberData = computed<Member | null>(() => 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 = () => {

View File

@ -144,7 +144,7 @@
import type { Member } from '~/utils/types';
definePageMeta({
layout: 'dashboard',
layout: 'board',
middleware: 'auth'
});