From 1a11e1d81309132ab20484cf330e4227c444106a Mon Sep 17 00:00:00 2001 From: Jeannie McGill Date: Wed, 25 Oct 2023 13:25:14 -0400 Subject: [PATCH] Add handling for no spanish name in bookmarks --- src/lib/views/MyListView/MyListView.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/views/MyListView/MyListView.svelte b/src/lib/views/MyListView/MyListView.svelte index b408229..f128476 100644 --- a/src/lib/views/MyListView/MyListView.svelte +++ b/src/lib/views/MyListView/MyListView.svelte @@ -14,7 +14,7 @@ {#each $things as thing} - {@const thingName = isSpanish ? thing.spanishName : thing.name} + {@const thingName = isSpanish ? thing.spanishName ?? thing.name : thing.name} removeThing(thing.id)} {thingName}