API/list_service_instances: add module metadata (#5023)
@hsjobeki Co-authored-by: Johannes Kirschbauer <hsjobeki@gmail.com> Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5023
This commit is contained in:
@@ -78,8 +78,9 @@ const SelectService = () => {
|
||||
instances: Object.entries(serviceInstancesQuery.data)
|
||||
.filter(
|
||||
([name, i]) =>
|
||||
i.module?.name === m.module.name &&
|
||||
(!i.module?.input || i.module?.input === m.module.input),
|
||||
i.module.module.name === m.module.name &&
|
||||
(!i.module.module.input ||
|
||||
i.module.module.input === m.module.input),
|
||||
)
|
||||
.map(([name, _]) => name),
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user