diff --git a/public/app/features/alerting/unified/components/notification-policies/Policy.test.tsx b/public/app/features/alerting/unified/components/notification-policies/Policy.test.tsx index 187640ab617..7d6d7979e7b 100644 --- a/public/app/features/alerting/unified/components/notification-policies/Policy.test.tsx +++ b/public/app/features/alerting/unified/components/notification-policies/Policy.test.tsx @@ -257,4 +257,6 @@ const mockRoutes: RouteWithID = { }, ], group_wait: '30s', + group_interval: undefined, + repeat_interval: undefined, }; diff --git a/public/app/features/alerting/unified/components/notification-policies/Policy.tsx b/public/app/features/alerting/unified/components/notification-policies/Policy.tsx index c1c6a40ef20..50f1054e173 100644 --- a/public/app/features/alerting/unified/components/notification-policies/Policy.tsx +++ b/public/app/features/alerting/unified/components/notification-policies/Policy.tsx @@ -1,5 +1,5 @@ import { css } from '@emotion/css'; -import { uniqueId, groupBy, upperFirst, sumBy, isArray } from 'lodash'; +import { uniqueId, groupBy, upperFirst, sumBy, isArray, defaults } from 'lodash'; import pluralize from 'pluralize'; import React, { FC, Fragment, ReactNode } from 'react'; import { Link } from 'react-router-dom'; @@ -281,7 +281,7 @@ const Policy: FC = ({ {timingOptions && ( // for the default policy we will also merge the default timings, that way a user can observe what the timing options would be )} {hasInheritedProperties && (