Add error clause when fetching org members or orgs

Signed-off-by: Sebastian Martinez <sebastinez@me.com>
This commit is contained in:
Sebastian Martinez
2022-01-17 13:19:39 +01:00
committed by Alexis Sellier
parent ba45feae30
commit debf82ef36
2 changed files with 10 additions and 0 deletions
+4
View File
@@ -220,6 +220,10 @@
{/each}
</div>
{/if}
{:catch err}
<Message error>
<strong>Error: </strong> failed to load orgs: {err.message}.
</Message>
{/await}
<div class="projects">
{#if profile.anchorsAccount}