fix: satisfy production workspace build

This commit is contained in:
lucaronin
2026-05-08 00:56:24 +02:00
parent ef3aed64e3
commit 5e7d29f620
8 changed files with 29 additions and 7 deletions

View File

@@ -65,7 +65,7 @@ export function workspaceLabelForEntry(entry: Pick<VaultEntry, 'workspace'>): st
}
export function workspaceDisplayPrefix(entry: Pick<VaultEntry, 'workspace'>): string | null {
const workspace = workspaceForEntry(entry)
const workspace = entry.workspace ?? null
return workspace ? `${workspace.label} / ` : null
}