This is the severity used for forwarded mails, since we cannot
reasonably infer a priority here.

Signed-off-by: Lukas Wagner <l.wag...@proxmox.com>
---
 src/window/NotificationMatcherEdit.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/window/NotificationMatcherEdit.js 
b/src/window/NotificationMatcherEdit.js
index ee08c16..1e755dd 100644
--- a/src/window/NotificationMatcherEdit.js
+++ b/src/window/NotificationMatcherEdit.js
@@ -341,7 +341,7 @@ Ext.define('Proxmox.panel.NotificationRulesEditPanel', {
                    switch (value) {
                        case 'match-severity':
                            data = {
-                               value: ['info', 'notice', 'warning', 'error'],
+                               value: ['info', 'notice', 'warning', 'error', 
'unknown'],
                            };
                            break;
                        case 'match-field':
@@ -1096,6 +1096,7 @@ Ext.define('Proxmox.panel.NotificationMatchRuleSettings', 
{
                ['notice', gettext('Notice')],
                ['warning', gettext('Warning')],
                ['error', gettext('Error')],
+               ['unknown', gettext('Unknown')],
            ],
        },
        {
-- 
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