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:
parent
a27cc6c0e5
commit
a1e610a39a
7 changed files with 57 additions and 25 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue