File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -3,17 +3,17 @@ import Heading from '@/components/Heading.vue';
33import { Button } from ' @/components/ui/button' ;
44import { Separator } from ' @/components/ui/separator' ;
55import { toUrl , urlIsActive } from ' @/lib/utils' ;
6- import { appearance } from ' @/routes' ;
6+ import { edit as editAppearance } from ' @/routes/appearance ' ;
77import { edit as editPassword } from ' @/routes/password' ;
8- import { edit } from ' @/routes/profile' ;
8+ import { edit as editProfile } from ' @/routes/profile' ;
99import { show } from ' @/routes/two-factor' ;
1010import { type NavItem } from ' @/types' ;
1111import { Link } from ' @inertiajs/vue3' ;
1212
1313const sidebarNavItems: NavItem [] = [
1414 {
1515 title: ' Profile' ,
16- href: edit (),
16+ href: editProfile (),
1717 },
1818 {
1919 title: ' Password' ,
@@ -25,7 +25,7 @@ const sidebarNavItems: NavItem[] = [
2525 },
2626 {
2727 title: ' Appearance' ,
28- href: appearance (),
28+ href: editAppearance (),
2929 },
3030];
3131
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ import { type BreadcrumbItem } from '@/types';
77
88import AppLayout from ' @/layouts/AppLayout.vue' ;
99import SettingsLayout from ' @/layouts/settings/Layout.vue' ;
10- import { appearance } from ' @/routes' ;
10+ import { edit } from ' @/routes/appearance ' ;
1111
1212const breadcrumbItems: BreadcrumbItem [] = [
1313 {
1414 title: ' Appearance settings' ,
15- href: appearance ().url ,
15+ href: edit ().url ,
1616 },
1717];
1818 </script >
Original file line number Diff line number Diff line change 2121
2222 Route::get ('settings/appearance ' , function () {
2323 return Inertia::render ('settings/Appearance ' );
24- })->name ('appearance ' );
24+ })->name ('appearance.edit ' );
2525
2626 Route::get ('settings/two-factor ' , [TwoFactorAuthenticationController::class, 'show ' ])
2727 ->name ('two-factor.show ' );
You can’t perform that action at this time.
0 commit comments