1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

fix(edge/groups): filter selected environments [EE-5891] (#10050)

This commit is contained in:
Chaim Lev-Ari 2023-08-16 12:24:37 +03:00 committed by GitHub
parent a27cc6c0e5
commit a1e610a39a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 57 additions and 25 deletions

View file

@ -28,6 +28,7 @@ export function AssociatedEdgeEnvironmentsSelector({
emptyContentLabel="No environment available"
query={{
types: EdgeTypes,
excludeIds: value,
}}
onClickRow={(env) => {
if (!value.includes(env.Id)) {
@ -35,7 +36,6 @@ export function AssociatedEdgeEnvironmentsSelector({
}
}}
data-cy="edgeGroupCreate-availableEndpoints"
hideEnvironmentIds={value}
/>
</div>
<div className="w-1/2">