From b38454d81b28f2187e083b7ed627db1de819cbfe Mon Sep 17 00:00:00 2001 From: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com> Date: Wed, 20 Sep 2023 16:19:12 +0200 Subject: [PATCH] Alerting: Remove export button in alert form when editing grafana-managed alert (#75153) --- .../unified/components/rule-editor/AlertRuleForm.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/app/features/alerting/unified/components/rule-editor/AlertRuleForm.tsx b/public/app/features/alerting/unified/components/rule-editor/AlertRuleForm.tsx index 50b7390e049..b0fd59a46b6 100644 --- a/public/app/features/alerting/unified/components/rule-editor/AlertRuleForm.tsx +++ b/public/app/features/alerting/unified/components/rule-editor/AlertRuleForm.tsx @@ -251,7 +251,7 @@ export const AlertRuleForm = ({ existing, prefill }: Props) => { ) : null} - {existing ? ( + {existing && isCortexLokiOrRecordingRule(watch) && ( - ) : null} + )} );