File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,10 @@ const page = usePage<SharedData>();
15
15
<SidebarGroupLabel >Platform</SidebarGroupLabel >
16
16
<SidebarMenu >
17
17
<SidebarMenuItem v-for =" item in items" :key =" item.title" >
18
- <SidebarMenuButton as-child :is-active =" item.href === page.url" >
18
+ <SidebarMenuButton
19
+ as-child :is-active =" item.href === page.url"
20
+ :tooltip =" item.title"
21
+ >
19
22
<Link :href =" item.href" >
20
23
<component :is =" item.icon" />
21
24
<span >{{ item.title }}</span >
Original file line number Diff line number Diff line change 1
- import { Config , RouteParams } from 'ziggy-js' ;
1
+ import { RouteParams , Router } from 'ziggy-js' ;
2
2
3
3
declare global {
4
- function route ( ) : Config ;
4
+ function route ( ) : Router ;
5
5
function route ( name : string , params ?: RouteParams < typeof name > | undefined , absolute ?: boolean ) : string ;
6
6
}
7
7
You can’t perform that action at this time.
0 commit comments