fix: hide 0 positions length boolean in document title

master
Katja Lutz 2 years ago
parent 1685186805
commit 46a08fc60a

@ -127,7 +127,7 @@ export default function Home() {
const titleMemo = createMemo(
() =>
(state.positions.length > 0 && `(${state.positions.length}) `) +
(state.positions.length > 0 ? `(${state.positions.length}) ` : "") +
"Räppli" +
(state.project.projectNumber.length
? ` - ${state.project.projectNumber}`

Loading…
Cancel
Save