1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-26 13:48:33 +02:00

Fix/default strategy group (#4110)

This commit is contained in:
andreas-unleash 2023-06-28 13:18:44 +03:00 committed by GitHub
parent 5cbbd6f798
commit d10ddcb12c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ const FlexibleStrategy = ({
}
useEffect(() => {
if (isDefaultStrategyEdit) {
if (isDefaultStrategyEdit && !parameters.groupId) {
onUpdate('groupId')('');
}
}, [isDefaultStrategyEdit]);