Remove useEffect that was setting incorrect display value for pending period
This commit is contained in:
committed by
Tom Ratcliffe
parent
79631bdd15
commit
584d2bcb91
-5
@@ -105,11 +105,6 @@ function FolderGroupAndEvaluationInterval({
|
||||
setIsEditingGroup(false);
|
||||
};
|
||||
|
||||
// when the group evaluation interval changes, update the pending period to match
|
||||
useEffect(() => {
|
||||
setValue('evaluateFor', evaluateEvery);
|
||||
}, [evaluateEvery, setValue]);
|
||||
|
||||
const onOpenEditGroupModal = () => setIsEditingGroup(true);
|
||||
|
||||
const editGroupDisabled = groupfoldersForGrafana?.loading || isNewGroup || !folderUid || !groupName;
|
||||
|
||||
Reference in New Issue
Block a user