From 790de8cfa6e623b8be3f61908a6ff93d5510df60 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 14 Jan 2026 09:58:32 +0100 Subject: [PATCH] backups: fix display of preserved and label --- dashboard/src/components/SystemBackupList.vue | 34 +++++++++---------- dashboard/src/components/app/Backups.vue | 31 ++++++++--------- 2 files changed, 31 insertions(+), 34 deletions(-) diff --git a/dashboard/src/components/SystemBackupList.vue b/dashboard/src/components/SystemBackupList.vue index 0fe07f040..9a125a6ef 100644 --- a/dashboard/src/components/SystemBackupList.vue +++ b/dashboard/src/components/SystemBackupList.vue @@ -23,16 +23,11 @@ const tasksModel = TasksModel.create(); const dashboardModel = DashboardModel.create(); const columns = { - preserveSecs: { - label: '', - icon: 'fa-solid fa-archive', - width: '40px', - sort: true - }, - packageVersion: { - label: t('backups.listing.version'), - sort: true, - hideMobile: true, + creationTime: { + label: t('main.table.created'), + sort(a, b) { + return new Date(a) - new Date(b); + } }, site: { label: t('backup.target.label'), @@ -47,12 +42,13 @@ const columns = { }, size: { label: t('backup.target.size'), - sort: true, + sort: false, hideMobile: true, }, - creationTime: { - label: t('main.table.created'), - sort: true + packageVersion: { + label: t('backups.listing.version'), + sort: true, + hideMobile: true, }, actions: {} }; @@ -272,12 +268,14 @@ defineExpose({ refresh }); -