still show start from scratch and import when template request fails

This commit is contained in:
Martin McKeaveney 2021-11-09 11:58:58 +01:00
parent 65837abcc0
commit 3f71768146
1 changed files with 23 additions and 23 deletions

View File

@ -37,6 +37,10 @@
<p class="detail">{template?.category?.toUpperCase()}</p>
</div>
{/each}
</div>
{:catch err}
<h1 style="color:red">{err}</h1>
{/await}
<div class="template start-from-scratch" on:click={() => onSelect(null)}>
<div
class="background-icon"
@ -60,10 +64,6 @@
<Heading size="XS">Import an app</Heading>
<p class="detail">BLANK</p>
</div>
</div>
{:catch err}
<h1 style="color:red">{err}</h1>
{/await}
</Layout>
<style>