mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
fix: copy strategy should always add a new strategy (#7994)
This commit is contained in:
parent
c69036c5a9
commit
09e619ee25
@ -70,10 +70,7 @@ export const CopyStrategyIconMenu: VFC<ICopyStrategyIconMenuProps> = ({
|
|||||||
if (isChangeRequestConfigured(targetEnvironment)) {
|
if (isChangeRequestConfigured(targetEnvironment)) {
|
||||||
await onChangeRequestAddStrategy(
|
await onChangeRequestAddStrategy(
|
||||||
targetEnvironment,
|
targetEnvironment,
|
||||||
{
|
strategyCopy,
|
||||||
id,
|
|
||||||
...strategyCopy,
|
|
||||||
},
|
|
||||||
environmentId,
|
environmentId,
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user