File tree Expand file tree Collapse file tree 5 files changed +5
-7
lines changed
Expand file tree Collapse file tree 5 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,7 @@ defineProps<Props>();
2727 </template >
2828 <template v-else >
2929 <BreadcrumbLink as-child >
30- <Link :href =" item.href ?? '#'" >{{
31- item.title
32- }}</Link >
30+ <Link :href =" item.href" >{{ item.title }}</Link >
3331 </BreadcrumbLink >
3432 </template >
3533 </BreadcrumbItem >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { dashboard } from '@/routes';
88const breadcrumbs: BreadcrumbItem [] = [
99 {
1010 title: ' Dashboard' ,
11- href: dashboard (). url ,
11+ href: dashboard (),
1212 },
1313];
1414 </script >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { edit } from '@/routes/appearance';
1010const breadcrumbItems: BreadcrumbItem [] = [
1111 {
1212 title: ' Appearance settings' ,
13- href: edit (). url ,
13+ href: edit (),
1414 },
1515];
1616 </script >
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ defineProps<Props>();
2222const breadcrumbItems: BreadcrumbItem [] = [
2323 {
2424 title: ' Profile settings' ,
25- href: edit (). url ,
25+ href: edit (),
2626 },
2727];
2828
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { LucideIcon } from 'lucide-vue-next';
33
44export type BreadcrumbItem = {
55 title : string ;
6- href ?: string ;
6+ href : NonNullable < InertiaLinkProps [ 'href' ] > ;
77} ;
88
99export type NavItem = {
You can’t perform that action at this time.
0 commit comments