Fix board dashboard layout - now uses correct board layout
Build And Push Image / docker (push) Successful in 2m2s
Details
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:
parent
0199e5ba8c
commit
e75de8b9f4
|
|
@ -478,9 +478,6 @@ const memberData = computed<Member | null>(() => sessionData.value?.member || nu
|
||||||
|
|
||||||
// Load board-specific notifications
|
// Load board-specific notifications
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
// Debug initial state
|
|
||||||
console.log('Board layout mounted - drawer:', drawer.value, 'miniVariant:', miniVariant.value);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const [notificationsRes, applicationsRes] = await Promise.all([
|
const [notificationsRes, applicationsRes] = await Promise.all([
|
||||||
$fetch('/api/board/notifications/count'),
|
$fetch('/api/board/notifications/count'),
|
||||||
|
|
@ -495,9 +492,7 @@ onMounted(async () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const toggleDrawer = () => {
|
const toggleDrawer = () => {
|
||||||
console.log('Board toggleDrawer called, current miniVariant:', miniVariant.value);
|
|
||||||
miniVariant.value = !miniVariant.value;
|
miniVariant.value = !miniVariant.value;
|
||||||
console.log('Board miniVariant after toggle:', miniVariant.value);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const toggleSearch = () => {
|
const toggleSearch = () => {
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,7 @@
|
||||||
import type { Member } from '~/utils/types';
|
import type { Member } from '~/utils/types';
|
||||||
|
|
||||||
definePageMeta({
|
definePageMeta({
|
||||||
layout: 'dashboard',
|
layout: 'board',
|
||||||
middleware: 'auth'
|
middleware: 'auth'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue