[pve-devel] [PATCH v2 pve-manager 41/42] ui: backup: disable notification mode selector for now

Lukas Wagner l.wagner at proxmox.com
Wed May 24 15:56:48 CEST 2023


I think it's best to not expose the notification channel feature
until we have at least a basic managment GUI for endpoints/channels.

Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
 www/manager6/dc/Backup.js     | 1 +
 www/manager6/window/Backup.js | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/www/manager6/dc/Backup.js b/www/manager6/dc/Backup.js
index 997b0393..56e70121 100644
--- a/www/manager6/dc/Backup.js
+++ b/www/manager6/dc/Backup.js
@@ -333,6 +333,7 @@ Ext.define('PVE.dc.BackupEdit', {
 				    bind: {
 					value: '{notificationMode}',
 				    },
+				    disabled: true,
 				},
 				{
 				    xtype: 'pveNotificationChannelSelector',
diff --git a/www/manager6/window/Backup.js b/www/manager6/window/Backup.js
index 8c8cd7d8..b659c582 100644
--- a/www/manager6/window/Backup.js
+++ b/www/manager6/window/Backup.js
@@ -53,8 +53,8 @@ Ext.define('PVE.window.Backup', {
 		    notificationChannelSelector.setHidden(mailSelected);
 		    mailtoField.setHidden(!mailSelected);
 		}
-	    }
-
+	    },
+	    disabled: true,
 	});
 
 	const keepNames = [
-- 
2.30.2






More information about the pve-devel mailing list