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
1 changed files with 1 additions and 0 deletions

View File

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