แก้การ fetchList สถานะ

This commit is contained in:
Net 2024-07-19 16:11:03 +07:00
parent 4a5f7b8389
commit 5891cbed86

View file

@ -146,9 +146,12 @@ function onRestore(name: string) {
} }
onMounted(async () => { onMounted(async () => {
fetchListBackup(); const res = await fetchListBackup();
backupRunningList();
restoreRunningList(); if (!!res) {
await backupRunningList();
await restoreRunningList();
}
}); });
</script> </script>