Show backup storage for each backup
This commit is contained in:
@@ -44,6 +44,10 @@ const columns = {
|
||||
sort: false,
|
||||
hideMobile: true,
|
||||
},
|
||||
target: {
|
||||
label: 'Storage',
|
||||
sort: true
|
||||
},
|
||||
actions: {}
|
||||
};
|
||||
|
||||
@@ -172,6 +176,7 @@ async function refreshBackups() {
|
||||
});
|
||||
|
||||
result.forEach(function (backup) {
|
||||
backup.target = targets.value.find(t => t.id === backup.targetId);
|
||||
backup.contents = []; // { id, label, fqdn }
|
||||
backup.dependsOn.forEach(function (appBackupId) {
|
||||
const match = appBackupId.match(/app_(.*?)_.*/); // *? means non-greedy
|
||||
@@ -450,6 +455,8 @@ onMounted(async () => {
|
||||
<span v-else>{{ $t('backups.listing.noApps') }}</span>
|
||||
</template>
|
||||
|
||||
<template #target="backup">{{ backup.target.name }}</template>
|
||||
|
||||
<template #actions="backup">
|
||||
<div style="text-align: right;">
|
||||
<Button tool plain secondary @click.capture="onActionMenu(backup, $event)" icon="fa-solid fa-ellipsis" />
|
||||
|
||||
Reference in New Issue
Block a user