ui: tfa edit: fix initial state of delete button

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-04-16 14:31:48 +00:00
parent 9ff893ae52
commit 1bfa058823

View File

@ -482,6 +482,7 @@ Ext.define('PVE.window.TFAEdit', {
{
text: gettext('Delete'),
reference: 'delete_button',
disabled: true,
handler: 'deleteTFA',
bind: {
disabled: '{!canDeleteTFA}'