From e8b9b3975821d3581d765504ff297d1364306a5a Mon Sep 17 00:00:00 2001 From: Rares Mardare Date: Thu, 30 May 2024 15:59:23 +0300 Subject: [PATCH] cleanup --- grafana-plugin/src/components/Policy/EscalationPolicy.tsx | 6 +++--- .../src/models/escalation_policy/escalation_policy.ts | 6 ------ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/grafana-plugin/src/components/Policy/EscalationPolicy.tsx b/grafana-plugin/src/components/Policy/EscalationPolicy.tsx index bf78c5c0d5..c8a594a31b 100644 --- a/grafana-plugin/src/components/Policy/EscalationPolicy.tsx +++ b/grafana-plugin/src/components/Policy/EscalationPolicy.tsx @@ -76,7 +76,7 @@ class _EscalationPolicy extends React.Component { return ( { reactStringReplace(escalationOption.display_name, /\{\{([^}]+)\}\}/g, this.replacePlaceholder)} {this.renderNote()} {is_final || isDisabled ? null : ( - + { { diff --git a/grafana-plugin/src/models/escalation_policy/escalation_policy.ts b/grafana-plugin/src/models/escalation_policy/escalation_policy.ts index 97f37ee45f..20801ccda5 100644 --- a/grafana-plugin/src/models/escalation_policy/escalation_policy.ts +++ b/grafana-plugin/src/models/escalation_policy/escalation_policy.ts @@ -7,12 +7,6 @@ import { makeRequest } from 'network/network'; import { move } from 'state/helpers'; import { RootStore } from 'state/rootStore'; -interface SilenceOption { - value: string; - sec_value: string; - display_name: string; -} - export class EscalationPolicyStore extends BaseStore { @observable.shallow items: { [id: string]: EscalationPolicy } = {};