Skip to content

Commit

Permalink
Alerting: Fix exporting new rule with a new group (grafana#101404)
Browse files Browse the repository at this point in the history
Fix exporting new rule with a new group
  • Loading branch information
soniaAguilarPeiron authored Feb 27, 2025
1 parent f8b63c3 commit 980332a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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],
};
}
Expand Down

0 comments on commit 980332a

Please sign in to comment.