notification ui: add 'unknown' to match-severity dropdown

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

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
Lukas Wagner 2023-11-21 17:01:45 +01:00 committed by Thomas Lamprecht
parent c972de233a
commit 6ed92b735f

View File

@ -342,7 +342,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':
@ -1097,6 +1097,7 @@ Ext.define('Proxmox.panel.NotificationMatchRuleSettings', {
['notice', gettext('Notice')],
['warning', gettext('Warning')],
['error', gettext('Error')],
['unknown', gettext('Unknown')],
],
},
{