From: Thomas Lamprecht Date: Sun, 29 Oct 2023 18:47:40 +0000 (+0100) Subject: ui: disable new notification UI for now, will be reworked X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=81e102ebc2b63bc461508f2f7268864e804a5344;hp=fea56c69dde04fce4b5605f07cc76b131004adad;p=pve-manager.git ui: disable new notification UI for now, will be reworked Lukas is currently reworking this so that we have a single panel, where the filters are match-entries that can also provide the functionality of the hard-coded filters in the other panel, reducing complexity and adding flexibility. Signed-off-by: Thomas Lamprecht --- diff --git a/www/manager6/dc/Config.js b/www/manager6/dc/Config.js index 9ba7b301..7d01da5f 100644 --- a/www/manager6/dc/Config.js +++ b/www/manager6/dc/Config.js @@ -317,7 +317,9 @@ Ext.define('PVE.dc.Config', { ); } - if (caps.dc['Sys.Audit']) { + // this is being reworked, but we need to release newer manager versions already.. + let notification_enabled = false; + if (notification_enabled && caps.dc['Sys.Audit']) { me.items.push( { xtype: 'pveNotificationEvents', @@ -329,9 +331,12 @@ Ext.define('PVE.dc.Config', { ); } - if (caps.mapping['Mapping.Audit'] || - caps.mapping['Mapping.Use'] || - caps.mapping['Mapping.Modify']) { + if (notification_enabled && ( + caps.mapping['Mapping.Audit'] || + caps.mapping['Mapping.Use'] || + caps.mapping['Mapping.Modify'] + ) + ) { me.items.push( { xtype: 'pmxNotificationConfigView',