]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: disable new notification UI for now, will be reworked
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 29 Oct 2023 18:47:40 +0000 (19:47 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 29 Oct 2023 18:47:42 +0000 (19:47 +0100)
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 <t.lamprecht@proxmox.com>
www/manager6/dc/Config.js

index 9ba7b301fb486c4dd8b54a6ba1bcefd3b40bcbde..7d01da5fbbeb6487186e7f3437ba0a7fa898e0e7 100644 (file)
@@ -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',