Prevent rendering overview until selected app has loaded

This commit is contained in:
Andrew Kingston 2022-08-08 11:40:13 +01:00
parent cda179ea12
commit 12a6d1700b
1 changed files with 151 additions and 146 deletions

View File

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