[pbs-devel] [PATCH proxmox-backup 3/3] ui: gc view: remove unnecessary widths in columns

Dominik Csapak d.csapak at proxmox.com
Mon Apr 22 13:05:05 CEST 2024


setting `width` and `flex` in a column simultaneously won't work, and
the `flex` value takes priority. So remove the unused `width`
properties.

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/config/GCView.js | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/www/config/GCView.js b/www/config/GCView.js
index 76fb262e..8cdf63f9 100644
--- a/www/config/GCView.js
+++ b/www/config/GCView.js
@@ -166,7 +166,6 @@ Ext.define('PBS.config.GCJobView', {
 	    renderer: Ext.String.htmlEncode,
 	    sortable: true,
 	    hideable: false,
-	    width: 150,
 	    minWidth: 120,
 	    maxWidth: 300,
 	    flex: 2,
@@ -177,7 +176,6 @@ Ext.define('PBS.config.GCJobView', {
 	    sortable: false,
 	    hideable: false,
 	    renderer: (value) => value ? value : Proxmox.Utils.NoneText,
-	    width: 85,
 	    minWidth: 85,
 	    flex: 1,
 	},
@@ -202,7 +200,6 @@ Ext.define('PBS.config.GCJobView', {
 	    dataIndex: 'last-run-state',
 	    renderer: PBS.Utils.render_task_status,
 	    sortable: true,
-	    width: 100,
 	    minWidth: 80,
 	    flex: 1,
 	},
-- 
2.39.2





More information about the pbs-devel mailing list