diff --git a/frontend_nuxt/components/HeaderComponent.vue b/frontend_nuxt/components/HeaderComponent.vue index fabe92c60..946fcbe41 100644 --- a/frontend_nuxt/components/HeaderComponent.vue +++ b/frontend_nuxt/components/HeaderComponent.vue @@ -8,7 +8,7 @@ - + OpenIsle { +const handleLogoClick = (event) => { if (router.currentRoute.value.fullPath === '/') { + event.preventDefault() window.dispatchEvent(new Event('refresh-home')) - } else { - await navigateTo('/', { replace: true }) } } const search = () => {