Alerting: Fix exporting new rule with a new group (#101404)

Fix exporting new rule with a new group
pull/101419/head
Sonia Aguilar 5 months ago committed by GitHub
parent f8b63c364b
commit 980332ae75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      public/app/features/alerting/unified/components/rule-editor/alert-rule-form/ModifyExportRuleForm.tsx

@ -168,7 +168,7 @@ export const getPayloadToExport = (
} else {
// we have to create a new group with the updated rule
return {
name: existingGroup?.name ?? '',
name: existingGroup?.name ?? formValues.group,
rules: [updatedRule],
};
}

Loading…
Cancel
Save