File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ export const appApi = baseApi.injectEndpoints({
56
56
onePerTenant,
57
57
sendtoIntegration,
58
58
logsToInclude,
59
+ Severity,
59
60
} ) => ( {
60
61
path : '/api/ExecNotificationConfig' ,
61
62
data : {
@@ -70,6 +71,7 @@ export const appApi = baseApi.injectEndpoints({
70
71
addChocoApp : addChocoApp ,
71
72
onePerTenant : onePerTenant ,
72
73
logsToInclude : logsToInclude ,
74
+ Severity : Severity ,
73
75
sendtoIntegration : sendtoIntegration ,
74
76
} ,
75
77
method : 'post' ,
Original file line number Diff line number Diff line change @@ -981,6 +981,10 @@ const NotificationsSettings = () => {
981
981
label : m ,
982
982
value : m ,
983
983
} ) ) ,
984
+ Severity : notificationListResult . data ?. Severity ?. map ( ( s ) => ( {
985
+ label : s ,
986
+ value : s ,
987
+ } ) ) ,
984
988
} }
985
989
onSubmit = { onSubmit }
986
990
render = { ( { handleSubmit, submitting, values } ) => {
@@ -1033,6 +1037,18 @@ const NotificationsSettings = () => {
1033
1037
] }
1034
1038
/>
1035
1039
</ CCol >
1040
+ < CCol >
1041
+ < RFFSelectSearch
1042
+ multi = { true }
1043
+ label = "Choose which severity of alert you want to be notified for."
1044
+ name = "Severity"
1045
+ values = { [
1046
+ { value : 'Alert' , name : 'Alert' } ,
1047
+ { value : 'Error' , name : 'Error' } ,
1048
+ { value : 'Info' , name : 'Info' } ,
1049
+ ] }
1050
+ />
1051
+ </ CCol >
1036
1052
< CCol >
1037
1053
< RFFCFormSwitch
1038
1054
name = "onePerTenant"
You can’t perform that action at this time.
0 commit comments