mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-28 06:20:14 +00:00
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:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user