ui: config/TfaView: disable Remove button by default

gets enabled when an item is clicked

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-01-13 12:06:50 +01:00 committed by Thomas Lamprecht
parent da36bbe756
commit 1cb89f302f

View File

@ -250,6 +250,7 @@ Ext.define('PBS.config.TfaView', {
},
{
xtype: 'proxmoxButton',
disabled: true,
text: gettext('Remove'),
getRecordName: rec => rec.data.description,
handler: 'onRemoveButton',