Alerting: Fix exporting new rule with a new group (#101404)
Fix exporting new rule with a new group
This commit is contained in:
+1
-1
@@ -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],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user