1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-10 01:19:53 +01:00

chore: swap edit and copy strategy button order (#10904)

This commit is contained in:
David Leek 2025-11-04 07:50:17 +01:00 committed by GitHub
parent 8f8e567d30
commit a1ebd0d114
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,13 +96,6 @@ export const ProjectEnvironmentStrategyDraggableItem = ({
).map((scheduledChange) => scheduledChange.id)} ).map((scheduledChange) => scheduledChange.id)}
/> />
) : null} ) : null}
{otherEnvironments && otherEnvironments?.length > 0 ? (
<CopyStrategyIconMenu
environmentId={environmentName}
environments={otherEnvironments as string[]}
strategy={strategy}
/>
) : null}
<PermissionIconButton <PermissionIconButton
permission={UPDATE_FEATURE_STRATEGY} permission={UPDATE_FEATURE_STRATEGY}
environmentId={environmentName} environmentId={environmentName}
@ -116,6 +109,13 @@ export const ProjectEnvironmentStrategyDraggableItem = ({
> >
<Edit /> <Edit />
</PermissionIconButton> </PermissionIconButton>
{otherEnvironments && otherEnvironments?.length > 0 ? (
<CopyStrategyIconMenu
environmentId={environmentName}
environments={otherEnvironments as string[]}
strategy={strategy}
/>
) : null}
<MenuStrategyRemove <MenuStrategyRemove
projectId={projectId} projectId={projectId}
featureId={featureId} featureId={featureId}