mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
fix(waiting-room): search endpoints by edge group name EE-5965 (#10072)
This commit is contained in:
parent
95424c322d
commit
6290e9facc
4 changed files with 53 additions and 5 deletions
|
@ -70,6 +70,7 @@ export function useEnvironments({
|
|||
select: (groups) =>
|
||||
Object.fromEntries(groups.map((g) => [g.Id, g.Name] as const)),
|
||||
});
|
||||
|
||||
const environmentEdgeGroupsQuery = useEdgeGroups({
|
||||
select: (groups) =>
|
||||
_.groupBy(
|
||||
|
@ -80,6 +81,7 @@ export function useEnvironments({
|
|||
(env) => env.id
|
||||
),
|
||||
});
|
||||
|
||||
const tagsQuery = useTags({
|
||||
select: (tags) =>
|
||||
Object.fromEntries(tags.map((tag) => [tag.ID, tag.Name] as const)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue