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,24 +3,24 @@ 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 { type NavItem } from ' @/types' ;
1010import { Link } from ' @inertiajs/vue3' ;
1111
1212const sidebarNavItems: NavItem [] = [
1313 {
1414 title: ' Profile' ,
15- href: edit (),
15+ href: editProfile (),
1616 },
1717 {
1818 title: ' Password' ,
1919 href: editPassword (),
2020 },
2121 {
2222 title: ' Appearance' ,
23- href: appearance (),
23+ href: editAppearance (),
2424 },
2525];
2626
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 2020
2121 Route::get ('settings/appearance ' , function () {
2222 return Inertia::render ('settings/Appearance ' );
23- })->name ('appearance ' );
23+ })->name ('appearance.edit ' );
2424});
You can’t perform that action at this time.
0 commit comments