feat: Fix Overview always active, add Refresh button, add Logout in standalone

This commit is contained in:
dwindown
2025-11-05 00:00:59 +07:00
parent 8960ee1149
commit 04e02f1d67
3 changed files with 48 additions and 16 deletions

View File

@@ -49,7 +49,7 @@ function getStaticFallbackTree(): MainNode[] {
path: '/',
icon: 'layout-dashboard',
children: [
{ label: 'Overview', mode: 'spa', path: '/dashboard' },
{ label: 'Overview', mode: 'spa', path: '/dashboard', exact: true },
{ label: 'Revenue', mode: 'spa', path: '/dashboard/revenue' },
{ label: 'Orders', mode: 'spa', path: '/dashboard/orders' },
{ label: 'Products', mode: 'spa', path: '/dashboard/products' },