always show automation history tab
This commit is contained in:
parent
1aca8756f6
commit
2ffae3a0d6
|
@ -36,7 +36,6 @@
|
||||||
let endDate = null
|
let endDate = null
|
||||||
let filters = getFilters()
|
let filters = getFilters()
|
||||||
|
|
||||||
$: console.log(backupData)
|
|
||||||
$: page = $pageInfo.page
|
$: page = $pageInfo.page
|
||||||
$: fetchBackups(filterOpt, page, startDate, endDate)
|
$: fetchBackups(filterOpt, page, startDate, endDate)
|
||||||
|
|
||||||
|
@ -193,7 +192,7 @@
|
||||||
</div>
|
</div>
|
||||||
</Layout>
|
</Layout>
|
||||||
</Page>
|
</Page>
|
||||||
{:else if backupData}
|
{:else if backupData?.length > 0}
|
||||||
<Layout noPadding gap="M" alignContent="start">
|
<Layout noPadding gap="M" alignContent="start">
|
||||||
<div class="search">
|
<div class="search">
|
||||||
<div class="select">
|
<div class="select">
|
||||||
|
@ -248,7 +247,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Layout>
|
</Layout>
|
||||||
{:else if !backupData}
|
{:else if backupData?.length === 0}
|
||||||
<Page wide={false}>
|
<Page wide={false}>
|
||||||
<div class="align">
|
<div class="align">
|
||||||
<img
|
<img
|
||||||
|
@ -263,7 +262,7 @@
|
||||||
<Body size="S">You can manually backup your app any time</Body>
|
<Body size="S">You can manually backup your app any time</Body>
|
||||||
</div>
|
</div>
|
||||||
<div class="padding">
|
<div class="padding">
|
||||||
<Button cta>Create Backup</Button>
|
<Button on:click={modal.show} cta>Create Backup</Button>
|
||||||
</div>
|
</div>
|
||||||
</Layout>
|
</Layout>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -319,11 +319,9 @@
|
||||||
<Tab title="Access">
|
<Tab title="Access">
|
||||||
<AccessTab app={selectedApp} />
|
<AccessTab app={selectedApp} />
|
||||||
</Tab>
|
</Tab>
|
||||||
{#if isPublished}
|
<Tab title="Automation History">
|
||||||
<Tab title="Automation History">
|
<HistoryTab app={selectedApp} />
|
||||||
<HistoryTab app={selectedApp} />
|
</Tab>
|
||||||
</Tab>
|
|
||||||
{/if}
|
|
||||||
<Tab title="Backups">
|
<Tab title="Backups">
|
||||||
<BackupsTab app={selectedApp} />
|
<BackupsTab app={selectedApp} />
|
||||||
</Tab>
|
</Tab>
|
||||||
|
|
Loading…
Reference in New Issue