1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-10-19 07:33:39 +03:00

OS Managers, in fact, provides a single type of "service (That is, VDI or VAPP, ...) but not mor than one

This commit is contained in:
Adolfo Gómez García
2023-08-01 16:01:00 +02:00
parent 28b03427f2
commit 8e5610bc50
9 changed files with 11 additions and 13 deletions

View File

@@ -257,10 +257,10 @@ class Services(DetailHandler): # pylint: disable=too-many-public-methods
'description': _(t.description()),
'icon': t.icon64().replace('\n', ''),
}
for t in parent.getType().getServicesTypes()
for t in parent.getType().getProvidedServices()
]
else:
for t in parent.getType().getServicesTypes():
for t in parent.getType().getProvidedServices():
if forType == t.type():
offers = [
{