Merge BackupList component into the main list view

This commit is contained in:
Johannes Zellner
2025-08-05 14:21:05 +02:00
parent 8dffd6181d
commit 6e79927bc0
3 changed files with 357 additions and 362 deletions
@@ -20,6 +20,7 @@ const inputDialog = useTemplateRef('inputDialog');
const profile = ref({});
const targets = ref([]);
const busy = ref(false);
const columns = {
primary: {
@@ -106,6 +107,8 @@ async function onRemount(target) {
}
async function refresh() {
busy.value = true;
const [error, result] = await backupTargetsModel.list();
if (error) return console.error(error);
@@ -125,6 +128,7 @@ async function refresh() {
}
targets.value = result;
busy.value = false;
}
onMounted(async () => {