fix: update page titles to show board name (#225)

* fix: update page titles to show board name

* chore: update translations

* chore: update translations
This commit is contained in:
Henry
2025-10-23 21:08:34 +01:00
committed by GitHub
parent bb4784fd28
commit 1e2326ac2e
23 changed files with 315 additions and 238 deletions

View File

@@ -358,7 +358,7 @@ export default function BoardPage({ isTemplate }: { isTemplate?: boolean }) {
return (
<>
<PageHead
title={`${(boardData?.name ?? isTemplate) ? t`Board` : t`Template`} | ${workspace.name}`}
title={`${boardData?.name ?? (isTemplate ? t`Board` : t`Template`)} | ${workspace.name ?? t`Workspace`}`}
/>
<div className="relative flex h-full flex-col">
<PatternedBackground />
@@ -546,7 +546,9 @@ export default function BoardPage({ isTemplate }: { isTemplate?: boolean }) {
labels={card.labels}
members={card.members}
checklists={card.checklists ?? []}
description={card.description ?? null}
description={
card.description ?? null
}
comments={card.comments ?? []}
/>
</Link>