mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-22 15:15:53 +00:00
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:
parent
c972de233a
commit
6ed92b735f
@ -342,7 +342,7 @@ Ext.define('Proxmox.panel.NotificationRulesEditPanel', {
|
|||||||
switch (value) {
|
switch (value) {
|
||||||
case 'match-severity':
|
case 'match-severity':
|
||||||
data = {
|
data = {
|
||||||
value: ['info', 'notice', 'warning', 'error'],
|
value: ['info', 'notice', 'warning', 'error', 'unknown'],
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
case 'match-field':
|
case 'match-field':
|
||||||
@ -1097,6 +1097,7 @@ Ext.define('Proxmox.panel.NotificationMatchRuleSettings', {
|
|||||||
['notice', gettext('Notice')],
|
['notice', gettext('Notice')],
|
||||||
['warning', gettext('Warning')],
|
['warning', gettext('Warning')],
|
||||||
['error', gettext('Error')],
|
['error', gettext('Error')],
|
||||||
|
['unknown', gettext('Unknown')],
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user