We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e780c29 + 8d6c962 commit 20d8c64Copy full SHA for 20d8c64
src/pages/tenant/administration/alert-configuration/alert.jsx
@@ -253,9 +253,13 @@ const AlertWizard = () => {
253
recommendedOption.label += " (Recommended)";
254
}
255
setRecurrenceOptions(updatedRecurrenceOptions);
256
- formControl.setValue("recurrence", recommendedOption);
+
257
+ // Only set the recommended recurrence if we're NOT editing an existing alert
258
+ if (!editAlert) {
259
+ formControl.setValue("recurrence", recommendedOption);
260
+ }
261
- }, [commandValue]);
262
+ }, [commandValue, editAlert]);
263
264
useEffect(() => {
265
// Logic to handle template-based form updates when a preset is selected
0 commit comments