From f856e0774ec76b3efef19c957698ecbae0480e5d Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Thu, 4 Jun 2020 12:38:45 +0200 Subject: [PATCH] ui: fix prune button the remove button did not get the selModel since the xytpe was not 'grid' so give it the correct xtype Signed-off-by: Dominik Csapak --- www/DataStoreContent.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/DataStoreContent.js b/www/DataStoreContent.js index 2be03842..9b4bf248 100644 --- a/www/DataStoreContent.js +++ b/www/DataStoreContent.js @@ -210,6 +210,7 @@ Ext.define('PBS.DataStoreContent', { xtype: 'proxmoxButton', text: gettext('Prune'), disabled: true, + parentXType: 'pbsDataStoreContent', enableFn: function(record) { return !record.data.leaf; }, handler: 'onPrune', } -- 2.39.2