diff --git a/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/header.tsx b/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/header.tsx index 4cfe11d353d..1719df15163 100644 --- a/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/header.tsx +++ b/web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/header.tsx @@ -12,6 +12,7 @@ import { Breadcrumbs, Button, EmojiIconPicker, EmojiIconPickerTypes, TOAST_TYPE, import { BreadcrumbLink, Logo } from "@/components/common"; // helpers import { convertHexEmojiToDecimal } from "@/helpers/emoji.helper"; +import { getPageName } from "@/helpers/page.helper"; // hooks import { usePage, useProject } from "@/hooks/store"; import { usePlatformOS } from "@/hooks/use-platform-os"; @@ -56,6 +57,7 @@ export const PageDetailsHeader = observer(() => { } }; + const pageTitle = getPageName(name); const isVersionHistoryOverlayActive = !!searchParams.get("version"); return ( @@ -146,9 +148,9 @@ export const PageDetailsHeader = observer(() => { } /> - +
- {name ?? "Page"} + {pageTitle}