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:
parent
8f8e567d30
commit
a1ebd0d114
@ -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}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user