From edab42fd26117260f93c7a718542069576bd8c94 Mon Sep 17 00:00:00 2001 From: whidix Date: Fri, 6 Mar 2026 19:03:03 +0100 Subject: [PATCH] fix: improve status display logic in GuessHistoryTable for unknown and null values --- src/lib/components/GuessHistoryTable.svelte | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/lib/components/GuessHistoryTable.svelte b/src/lib/components/GuessHistoryTable.svelte index 30235d2..cb582bf 100644 --- a/src/lib/components/GuessHistoryTable.svelte +++ b/src/lib/components/GuessHistoryTable.svelte @@ -97,7 +97,15 @@ {#if columnVisibility.status !== false}

- {character.status === 'Alive' ? 'Vivant' : character.status === 'Deceased' || character.status === 'Dead' ? 'Mort' : character.status || 'Inconnu'} + {character.status === 'Alive' + ? 'Vivant' + : character.status === 'Deceased' || character.status === 'Dead' + ? 'Mort' + : character.status === 'Unknown' + ? 'Inconnu' + : character.status === null + ? '-' + : character.status || 'Inconnu'}

{/if}