Prevent rendering overview until selected app has loaded
This commit is contained in:
parent
cda179ea12
commit
12a6d1700b
|
@ -206,7 +206,8 @@
|
|||
})
|
||||
</script>
|
||||
|
||||
<span class="overview-wrap">
|
||||
{#if selectedApp}
|
||||
<span class="overview-wrap">
|
||||
<Page wide noPadding>
|
||||
{#await promise}
|
||||
<div class="loading">
|
||||
|
@ -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}
|
||||
|
@ -358,7 +362,8 @@
|
|||
<p>Something went wrong: {error.message}</p>
|
||||
{/await}
|
||||
</Page>
|
||||
</span>
|
||||
</span>
|
||||
{/if}
|
||||
|
||||
<style>
|
||||
.app-url {
|
||||
|
|
Loading…
Reference in New Issue