From ca70bc2d452dd1bb942ae4a2e060a9db5021f6a4 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 19 Dec 2022 20:55:21 -0800 Subject: move locations check --- src/components/About.svelte | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src/components') diff --git a/src/components/About.svelte b/src/components/About.svelte index 317c190e..c05f2dc2 100644 --- a/src/components/About.svelte +++ b/src/components/About.svelte @@ -85,10 +85,12 @@ -
-

{$t('about.locations.header')}

-

- {@html $t('about.locations.description')} -

- -
+{#if locations?.length} +
+

{$t('about.locations.header')}

+

+ {@html $t('about.locations.description')} +

+ +
+{/if} -- cgit v1.2.3