From 4f1a0d12cb35b019618517ab454fc281256627ac Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 19 Jan 2023 16:41:52 +0100 Subject: [PATCH] ui: backup info: use collapsible field set to render retention config Signed-off-by: Thomas Lamprecht --- www/manager6/dc/BackupJobDetail.js | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/www/manager6/dc/BackupJobDetail.js b/www/manager6/dc/BackupJobDetail.js index 93c9a33e..c82f50f4 100644 --- a/www/manager6/dc/BackupJobDetail.js +++ b/www/manager6/dc/BackupJobDetail.js @@ -251,21 +251,18 @@ Ext.define('PVE.dc.BackupInfo', { fieldLabel: gettext('Comment'), }, { - xtype: 'label', - name: 'pruneLabel', - text: gettext('Retention Configuration') + ':', - bind: { - hidden: '{!hasRetention}', - }, - }, - { + xtype: 'fieldset', + title: gettext('Retention Configuration'), layout: 'hbox', - border: false, + collapsible: true, defaults: { border: false, layout: 'anchor', flex: 1, }, + bind: { + hidden: '{!hasRetention}', + }, items: [ { padding: '0 10 0 0', -- 2.39.5