From b3846225f67bc3b14cb520c04eb299baa25120e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Tue, 10 Mar 2020 15:07:54 +0100 Subject: [PATCH] fix: default groupId never set for strategies (only in ui) --- frontend/CHANGELOG.md | 3 +++ frontend/src/component/feature/form/strategy-configure.jsx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/CHANGELOG.md b/frontend/CHANGELOG.md index 44e2890d7a..8bd9423c10 100644 --- a/frontend/CHANGELOG.md +++ b/frontend/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). The latest version of this document is always available in [releases][releases-url]. +## [3.2.19] +- fix: default groupId never set for strategies (only in ui) + ## [3.2.18] - fix: clean up history view a bit diff --git a/frontend/src/component/feature/form/strategy-configure.jsx b/frontend/src/component/feature/form/strategy-configure.jsx index f9721cfb06..ecbf2fd68e 100644 --- a/frontend/src/component/feature/form/strategy-configure.jsx +++ b/frontend/src/component/feature/form/strategy-configure.jsx @@ -190,7 +190,7 @@ class StrategyConfigure extends React.Component { ); } else { if (name === 'groupId' && !value) { - value = this.props.featureToggleName; + this.setConfig('groupId', this.props.featureToggleName); } return (