File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const activeItemStyles = computed(() => (url: string) => (isCurrentRoute(url) ?
4141const mainNavItems: NavItem [] = [
4242 {
4343 title: ' Dashboard' ,
44- href: ' / dashboard' ,
44+ href: route ( ' dashboard' ) ,
4545 icon: LayoutGrid ,
4646 },
4747];
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import AppLogo from './AppLogo.vue';
1111const mainNavItems: NavItem [] = [
1212 {
1313 title: ' Dashboard' ,
14- href: ' / dashboard' ,
14+ href: route ( ' dashboard' ) ,
1515 icon: LayoutGrid ,
1616 },
1717];
Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ import { Link } from '@inertiajs/vue3';
88const sidebarNavItems: NavItem [] = [
99 {
1010 title: ' Profile' ,
11- href: ' /settings/ profile' ,
11+ href: route ( ' profile.edit ' ) ,
1212 },
1313 {
1414 title: ' Password' ,
15- href: ' /settings/ password' ,
15+ href: route ( ' password.edit ' ) ,
1616 },
1717 {
1818 title: ' Appearance' ,
19- href: ' /settings/ appearance' ,
19+ href: route ( ' appearance' ) ,
2020 },
2121];
2222
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import PlaceholderPattern from '../components/PlaceholderPattern.vue';
77const breadcrumbs: BreadcrumbItem [] = [
88 {
99 title: ' Dashboard' ,
10- href: ' / dashboard' ,
10+ href: route ( ' dashboard' ) ,
1111 },
1212];
1313
You can’t perform that action at this time.
0 commit comments