mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Add InfoPausedRule back to alert detail view
This commit is contained in:
parent
20a1955026
commit
1fcb264c87
@ -6,6 +6,7 @@ import { NavModelItem, UrlQueryValue } from '@grafana/data';
|
||||
import { Alert, LinkButton, Stack, TabContent, Text, TextLink, useStyles2 } from '@grafana/ui';
|
||||
import { PageInfoItem } from 'app/core/components/Page/types';
|
||||
import { useQueryParams } from 'app/core/hooks/useQueryParams';
|
||||
import InfoPausedRule from 'app/features/alerting/unified/components/InfoPausedRule';
|
||||
import { CombinedRule, RuleHealth, RuleIdentifier } from 'app/types/unified-alerting';
|
||||
import { PromAlertingRuleState, PromRuleType } from 'app/types/unified-alerting-dto';
|
||||
|
||||
@ -93,6 +94,7 @@ const RuleViewer = () => {
|
||||
info={createMetadata(rule)}
|
||||
subTitle={
|
||||
<Stack direction="column">
|
||||
{isPaused && <InfoPausedRule />}
|
||||
{summary}
|
||||
{/* alerts and notifications and stuff */}
|
||||
{isFederatedRule && <FederatedRuleWarning />}
|
||||
|
Loading…
Reference in New Issue
Block a user