From f6975f11c06d496f5a9527bde319ae8f4b1e72ca Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Sat, 16 Jul 2022 15:38:37 +0200 Subject: [PATCH] Don't show submission status when not connected --- ui/src/components/SurveyList.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/SurveyList.svelte b/ui/src/components/SurveyList.svelte index f3814c9..e681d97 100644 --- a/ui/src/components/SurveyList.svelte +++ b/ui/src/components/SurveyList.svelte @@ -67,7 +67,7 @@ {#if !survey.shown}{/if} {survey.title} {#if survey.group}{survey.group}{/if} - {#if survey.kind === "w" && survey.startAvailability() < Date.now()} + {#if $user && survey.kind === "w" && survey.startAvailability() < Date.now()} {/if}