1
0
Fork 0
mirror of synced 2024-09-11 23:16:00 +12:00

Fix loading bugs in app backups page

This commit is contained in:
Andrew Kingston 2022-12-21 08:52:49 +00:00
parent 0a12dfd192
commit df1e1b0c3f

View file

@ -165,8 +165,8 @@
}
}
onMount(() => {
fetchBackups(filterOpt, page, startDate, endDate)
onMount(async () => {
await fetchBackups(filterOpt, page, startDate, endDate)
loaded = true
})
</script>
@ -208,7 +208,7 @@
View plans
</Button>
</div>
{:else if backupData?.length === 0 && loaded && !filterOpt && !startDate}
{:else if !backupData?.length && loaded && !filterOpt && !startDate}
<div class="center">
<Layout noPadding gap="S" justifyItems="center">
<img height="130px" src={BackupsDefault} alt="BackupsDefault" />