[pbs-devel] [PATCH proxmox-backup 8/8] gc: show removed and pending chunks of last run in ui

Stefan Lendl s.lendl at proxmox.com
Mon Feb 5 12:58:31 CET 2024


Signed-off-by: Stefan Lendl <s.lendl at proxmox.com>
---
 www/config/GCView.js | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/www/config/GCView.js b/www/config/GCView.js
index c70d1747..4de3bc55 100644
--- a/www/config/GCView.js
+++ b/www/config/GCView.js
@@ -203,6 +203,20 @@ Ext.define('PBS.config.GCJobView', {
 	    width: 150,
 	    sortable: true,
 	},
+	{
+	    header: gettext('Removed Chunks'),
+	    dataIndex: 'removed-chunks',
+	    renderer: (value) => value !== undefined ? value : "-",
+	    maxWidth: 100,
+	    sortable: false,
+	},
+	{
+	    header: gettext('Pending Chunks'),
+	    dataIndex: 'pending-chunks',
+	    renderer: (value) => value !== undefined ? value : "-",
+	    maxWidth: 100,
+	    sortable: false,
+	},
     ],
 
     initComponent: function() {
-- 
2.43.0





More information about the pbs-devel mailing list