File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
x-pack/plugins/monitoring/public/alerts/components/duration Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ pageLoadAssetSize:
5454 mapsLegacy : 116817
5555 mapsLegacyLicensing : 20214
5656 ml : 82187
57- monitoring : 288612
57+ monitoring : 50000
5858 navigation : 37269
5959 newsfeed : 42228
6060 observability : 89709
Original file line number Diff line number Diff line change @@ -27,14 +27,14 @@ export const Expression: React.FC<Props> = (props) => {
2727 const details = paramDetails [ alertParamName ] ;
2828 const value = alertParams [ alertParamName ] ;
2929
30- switch ( details . type ) {
30+ switch ( details ? .type ) {
3131 case AlertParamType . Duration :
3232 return (
3333 < AlertParamDuration
3434 key = { alertParamName }
3535 name = { alertParamName }
3636 duration = { value }
37- label = { details . label }
37+ label = { details ? .label }
3838 errors = { errors [ alertParamName ] }
3939 setAlertParams = { setAlertParams }
4040 />
@@ -44,7 +44,7 @@ export const Expression: React.FC<Props> = (props) => {
4444 < AlertParamPercentage
4545 key = { alertParamName }
4646 name = { alertParamName }
47- label = { details . label }
47+ label = { details ? .label }
4848 percentage = { value }
4949 errors = { errors [ alertParamName ] }
5050 setAlertParams = { setAlertParams }
@@ -55,7 +55,7 @@ export const Expression: React.FC<Props> = (props) => {
5555 < AlertParamNumber
5656 key = { alertParamName }
5757 name = { alertParamName }
58- label = { details . label }
58+ label = { details ? .label }
5959 value = { value }
6060 errors = { errors [ alertParamName ] }
6161 setAlertParams = { setAlertParams }
You can’t perform that action at this time.
0 commit comments