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';
3
3
import { Button } from ' @/components/ui/button' ;
4
4
import { Separator } from ' @/components/ui/separator' ;
5
5
import { toUrl , urlIsActive } from ' @/lib/utils' ;
6
- import { appearance } from ' @/routes' ;
6
+ import { edit as editAppearance } from ' @/routes/appearance ' ;
7
7
import { edit as editPassword } from ' @/routes/password' ;
8
- import { edit } from ' @/routes/profile' ;
8
+ import { edit as editProfile } from ' @/routes/profile' ;
9
9
import { show } from ' @/routes/two-factor' ;
10
10
import { type NavItem } from ' @/types' ;
11
11
import { Link } from ' @inertiajs/vue3' ;
12
12
13
13
const sidebarNavItems: NavItem [] = [
14
14
{
15
15
title: ' Profile' ,
16
- href: edit (),
16
+ href: editProfile (),
17
17
},
18
18
{
19
19
title: ' Password' ,
@@ -25,7 +25,7 @@ const sidebarNavItems: NavItem[] = [
25
25
},
26
26
{
27
27
title: ' Appearance' ,
28
- href: appearance (),
28
+ href: editAppearance (),
29
29
},
30
30
];
31
31
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ import { type BreadcrumbItem } from '@/types';
7
7
8
8
import AppLayout from ' @/layouts/AppLayout.vue' ;
9
9
import SettingsLayout from ' @/layouts/settings/Layout.vue' ;
10
- import { appearance } from ' @/routes' ;
10
+ import { edit } from ' @/routes/appearance ' ;
11
11
12
12
const breadcrumbItems: BreadcrumbItem [] = [
13
13
{
14
14
title: ' Appearance settings' ,
15
- href: appearance ().url ,
15
+ href: edit ().url ,
16
16
},
17
17
];
18
18
</script >
Original file line number Diff line number Diff line change 21
21
22
22
Route::get ('settings/appearance ' , function () {
23
23
return Inertia::render ('settings/Appearance ' );
24
- })->name ('appearance ' );
24
+ })->name ('appearance.edit ' );
25
25
26
26
Route::get ('settings/two-factor ' , [TwoFactorAuthenticationController::class, 'show ' ])
27
27
->name ('two-factor.show ' );
You can’t perform that action at this time.
0 commit comments