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 <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2020-06-04 12:38:45 +02:00 committed by Thomas Lamprecht
parent 43ba913977
commit f856e0774e

View File

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