diff --git a/packages/theme/components/HeaderNavigation/DesktopMenu.vue b/packages/theme/components/HeaderNavigation/DesktopMenu.vue index e0438b58..f006640f 100644 --- a/packages/theme/components/HeaderNavigation/DesktopMenu.vue +++ b/packages/theme/components/HeaderNavigation/DesktopMenu.vue @@ -33,7 +33,7 @@ export default { } }, setup(props) { - const isMenuAvailable = computed(() => props.menu && !props.menu.isDisabled); + const isMenuAvailable = computed(() => !props.menu.isDisabled); return { isMenuAvailable diff --git a/packages/theme/components/HeaderNavigation/MobileMenu.vue b/packages/theme/components/HeaderNavigation/MobileMenu.vue index 9170087a..91da6fe9 100644 --- a/packages/theme/components/HeaderNavigation/MobileMenu.vue +++ b/packages/theme/components/HeaderNavigation/MobileMenu.vue @@ -72,7 +72,7 @@ export default { }, setup(props) { const { isMobileMenuOpen, toggleMobileMenu } = useUiState(); - const isMenuAvailable = computed(() => props.menu && !props.menu.isDisabled); + const isMenuAvailable = computed(() => !props.menu.isDisabled); return { isMenuAvailable,