Give all containers a display_name, hide from list by dedicated attribute

We want a display-name for all containers in the overlay-log, but still want
to exclude some containers from the list on top of the web UI.

Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
Pablo Zmdl
2026-03-12 15:44:19 +01:00
parent eda48383b4
commit d86eee5847
5 changed files with 19 additions and 6 deletions

View File

@@ -324,6 +324,8 @@ readonly class ContainerDefinitionFetcher {
$documentation = $entry['documentation'];
}
$hideFromList = $entry['hide_from_list'] ?? false;
$containers[] = new Container(
$entry['container_name'],
$displayName,
@@ -349,7 +351,8 @@ readonly class ContainerDefinitionFetcher {
$imageTag,
$aioVariables,
$documentation,
$this->container->get(DockerActionManager::class)
$this->container->get(DockerActionManager::class),
$hideFromList
);
}