[pbs-devel] [PATCH proxmox-backup 2/6] ui: config/TfaView: disable Remove button by default

Dominik Csapak d.csapak at proxmox.com
Wed Jan 13 12:06:50 CET 2021


gets enabled when an item is clicked

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/config/TfaView.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/config/TfaView.js b/www/config/TfaView.js
index 6d7e862a..c112a132 100644
--- a/www/config/TfaView.js
+++ b/www/config/TfaView.js
@@ -250,6 +250,7 @@ Ext.define('PBS.config.TfaView', {
 	},
 	{
 	    xtype: 'proxmoxButton',
+	    disabled: true,
 	    text: gettext('Remove'),
 	    getRecordName: rec => rec.data.description,
 	    handler: 'onRemoveButton',
-- 
2.20.1






More information about the pbs-devel mailing list