Fix loading bugs in app backups page
This commit is contained in:
parent
0a12dfd192
commit
df1e1b0c3f
|
@ -165,8 +165,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onMount(() => {
|
onMount(async () => {
|
||||||
fetchBackups(filterOpt, page, startDate, endDate)
|
await fetchBackups(filterOpt, page, startDate, endDate)
|
||||||
loaded = true
|
loaded = true
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
@ -208,7 +208,7 @@
|
||||||
View plans
|
View plans
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
{:else if backupData?.length === 0 && loaded && !filterOpt && !startDate}
|
{:else if !backupData?.length && loaded && !filterOpt && !startDate}
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<Layout noPadding gap="S" justifyItems="center">
|
<Layout noPadding gap="S" justifyItems="center">
|
||||||
<img height="130px" src={BackupsDefault} alt="BackupsDefault" />
|
<img height="130px" src={BackupsDefault} alt="BackupsDefault" />
|
||||||
|
|
Loading…
Reference in New Issue