From 31fb80b29a917928bef8699fe3843fdaeb597068 Mon Sep 17 00:00:00 2001 From: Tom Ratcliffe Date: Tue, 26 Mar 2024 17:47:37 +0000 Subject: [PATCH] Move MenuItemPaused to components folder --- .../alerting/unified/{ => components}/MenuItemPauseRule.tsx | 0 .../alerting/unified/components/rule-viewer/Actions.tsx | 2 +- .../alerting/unified/components/rules/RuleActionsButtons.tsx | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename public/app/features/alerting/unified/{ => components}/MenuItemPauseRule.tsx (100%) diff --git a/public/app/features/alerting/unified/MenuItemPauseRule.tsx b/public/app/features/alerting/unified/components/MenuItemPauseRule.tsx similarity index 100% rename from public/app/features/alerting/unified/MenuItemPauseRule.tsx rename to public/app/features/alerting/unified/components/MenuItemPauseRule.tsx 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 2bfdc1bef25..3c2bd1f6c22 100644 --- a/public/app/features/alerting/unified/components/rule-viewer/Actions.tsx +++ b/public/app/features/alerting/unified/components/rule-viewer/Actions.tsx @@ -3,7 +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 MenuItemPauseRule from 'app/features/alerting/unified/components/MenuItemPauseRule'; import { CombinedRule, RuleIdentifier } from 'app/types/unified-alerting'; import { AlertRuleAction, useAlertRuleAbility } from '../../hooks/useAbilities'; diff --git a/public/app/features/alerting/unified/components/rules/RuleActionsButtons.tsx b/public/app/features/alerting/unified/components/rules/RuleActionsButtons.tsx index ee7601b2a47..d8ea8bb93a9 100644 --- a/public/app/features/alerting/unified/components/rules/RuleActionsButtons.tsx +++ b/public/app/features/alerting/unified/components/rules/RuleActionsButtons.tsx @@ -17,7 +17,7 @@ import { Stack, } from '@grafana/ui'; import { useAppNotification } from 'app/core/copy/appNotification'; -import MenuItemPauseRule from 'app/features/alerting/unified/MenuItemPauseRule'; +import MenuItemPauseRule from 'app/features/alerting/unified/components/MenuItemPauseRule'; import { INSTANCES_DISPLAY_LIMIT } from 'app/features/alerting/unified/components/rules/RuleDetails'; import { useRulesFilter } from 'app/features/alerting/unified/hooks/useFilteredRules'; import { useDispatch } from 'app/types';