Fix warnings
This commit is contained in:
parent
65048063aa
commit
39a2626c3a
5 changed files with 15 additions and 49 deletions
|
|
@ -51,7 +51,7 @@
|
|||
<SurveyBadge class="ms-2" {survey} />
|
||||
</div>
|
||||
|
||||
{#if $user.is_admin && edit}
|
||||
{#if $user && $user.is_admin && edit}
|
||||
<SurveyAdmin {survey} on:saved={() => edit = false} />
|
||||
{/if}
|
||||
|
||||
|
|
|
|||
Reference in a new issue