diff --git a/src/modules/04_system/components/cardBackupRestore.vue b/src/modules/04_system/components/cardBackupRestore.vue index d6e139dc..657cadc8 100644 --- a/src/modules/04_system/components/cardBackupRestore.vue +++ b/src/modules/04_system/components/cardBackupRestore.vue @@ -146,9 +146,12 @@ function onRestore(name: string) { } onMounted(async () => { - fetchListBackup(); - backupRunningList(); - restoreRunningList(); + const res = await fetchListBackup(); + + if (!!res) { + await backupRunningList(); + await restoreRunningList(); + } });