Signed-off-by: Lukas Wagner <l.wag...@proxmox.com>
---
 www/manager6/dc/Config.js | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/www/manager6/dc/Config.js b/www/manager6/dc/Config.js
index aa025c8d..9ba7b301 100644
--- a/www/manager6/dc/Config.js
+++ b/www/manager6/dc/Config.js
@@ -329,6 +329,22 @@ Ext.define('PVE.dc.Config', {
            );
        }
 
+       if (caps.mapping['Mapping.Audit'] ||
+           caps.mapping['Mapping.Use'] ||
+           caps.mapping['Mapping.Modify']) {
+           me.items.push(
+               {
+                   xtype: 'pmxNotificationConfigView',
+                   title: gettext('Notification Targets'),
+                   onlineHelp: 'notification_targets',
+                   itemId: 'notification-targets',
+                   iconCls: 'fa fa-dot-circle-o',
+                   baseUrl: '/cluster/notifications',
+                   groups: ['notifications'],
+               },
+           );
+       }
+
        if (caps.dc['Sys.Audit']) {
            me.items.push({
                xtype: 'pveDcSupport',
-- 
2.39.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to