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', }