diff --git a/components/calendar/Calendar.vue b/components/calendar/Calendar.vue index 950b36b..d66314e 100644 --- a/components/calendar/Calendar.vue +++ b/components/calendar/Calendar.vue @@ -93,7 +93,7 @@ onMounted(() => { setCurrentMenu([ { - phIcon: PhMagnifyingGlass, + phIcon: shallowRef(PhMagnifyingGlass), tooltip: 'Recherche avancée', action: 'event-search' } diff --git a/components/global/sidebar/SidebarProps.ts b/components/global/sidebar/SidebarProps.ts index 4414df0..bb3cd9e 100644 --- a/components/global/sidebar/SidebarProps.ts +++ b/components/global/sidebar/SidebarProps.ts @@ -1,7 +1,9 @@ +import type { ShallowRef } from "vue" + export type SidebarMenuActionType = "event-search" export interface SidebarMenuItem { - phIcon: Component + phIcon: ShallowRef tooltip: string action?: SidebarMenuActionType to?: string