diff --git a/components/app/AppHeader.vue b/components/app/AppHeader.vue index f8c0b8021..c4d1cfe27 100644 --- a/components/app/AppHeader.vue +++ b/components/app/AppHeader.vue @@ -3,7 +3,7 @@ const { config } = useDocus() const { navigation } = useContent() const { hasDocSearch } = useDocSearch() -const hasDialog = computed(() => navigation.value?.length > 1) +const hasDialog = computed(() => navigation.value?.length > 1 || navigation.value?.[0]?.children?.length) defineProps({ ...variants