We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 982c14c commit ea86676Copy full SHA for ea86676
alerta/views/__init__.py
@@ -55,7 +55,12 @@ def config():
55
'name': alarm_model.name,
56
'severity': alarm_model.Severity,
57
'colors': alarm_model.Colors,
58
- 'status': alarm_model.Status
+ 'status': alarm_model.Status,
59
+ 'defaults': {
60
+ 'status': alarm_model.DEFAULT_STATUS,
61
+ 'normal_severity': alarm_model.DEFAULT_NORMAL_SEVERITY,
62
+ 'previous_severity': alarm_model.DEFAULT_PREVIOUS_SEVERITY
63
+ }
64
},
65
'auth_required': current_app.config['AUTH_REQUIRED'],
66
'provider': current_app.config['AUTH_PROVIDER'],
0 commit comments