Prevent rendering overview until selected app has loaded
This commit is contained in:
parent
8f63abe923
commit
3d42c9cfeb
1 changed files with 151 additions and 146 deletions
|
@ -206,7 +206,8 @@
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<span class="overview-wrap">
|
{#if selectedApp}
|
||||||
|
<span class="overview-wrap">
|
||||||
<Page wide noPadding>
|
<Page wide noPadding>
|
||||||
{#await promise}
|
{#await promise}
|
||||||
<div class="loading">
|
<div class="loading">
|
||||||
|
@ -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}
|
||||||
|
@ -358,7 +362,8 @@
|
||||||
<p>Something went wrong: {error.message}</p>
|
<p>Something went wrong: {error.message}</p>
|
||||||
{/await}
|
{/await}
|
||||||
</Page>
|
</Page>
|
||||||
</span>
|
</span>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.app-url {
|
.app-url {
|
||||||
|
|
Loading…
Reference in a new issue