diff --git a/public/app/features/alerting/unified/components/rule-viewer/Actions.tsx b/public/app/features/alerting/unified/components/rule-viewer/Actions.tsx index 8dd22260189..2bfdc1bef25 100644 --- a/public/app/features/alerting/unified/components/rule-viewer/Actions.tsx +++ b/public/app/features/alerting/unified/components/rule-viewer/Actions.tsx @@ -3,6 +3,7 @@ import React from 'react'; import { AppEvents } from '@grafana/data'; import { Dropdown, LinkButton, Menu } from '@grafana/ui'; import appEvents from 'app/core/app_events'; +import MenuItemPauseRule from 'app/features/alerting/unified/MenuItemPauseRule'; import { CombinedRule, RuleIdentifier } from 'app/types/unified-alerting'; import { AlertRuleAction, useAlertRuleAbility } from '../../hooks/useAbilities'; @@ -51,6 +52,7 @@ export const useAlertRulePageActions = ({ handleDelete, handleDuplicateRule }: P key="more-actions" overlay={ + {canEdit && } {canSilence && (