From 46a08fc60a127f11b3a9bd657dbfa2d159bc0be5 Mon Sep 17 00:00:00 2001 From: Katja Lutz Date: Fri, 24 Jun 2022 16:18:23 +0200 Subject: [PATCH] fix: hide 0 positions length boolean in document title --- src/routes/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 15fba25..2c4d0da 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -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}`