Prevent rendering overview until selected app has loaded

This commit is contained in:
Andrew Kingston 2022-08-08 11:40:13 +01:00
parent 8f63abe923
commit 3d42c9cfeb
1 changed files with 151 additions and 146 deletions

View File

@ -206,6 +206,7 @@
})
</script>
{#if selectedApp}
<span class="overview-wrap">
<Page wide noPadding>
{#await promise}
@ -286,7 +287,10 @@
</MenuItem>
{/if}
{#if !isPublished}
<MenuItem on:click={() => deleteApp(selectedApp)} icon="Delete">
<MenuItem
on:click={() => deleteApp(selectedApp)}
icon="Delete"
>
Delete
</MenuItem>
{/if}
@ -359,6 +363,7 @@
{/await}
</Page>
</span>
{/if}
<style>
.app-url {