mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 14:29:40 +02:00
fix(templates): hide hidden containers in templates (#165)
This commit is contained in:
parent
3c75c5fe25
commit
e81bfb6f37
2 changed files with 23 additions and 1 deletions
|
@ -142,6 +142,7 @@ function ($scope, Container, Info, Settings, Messages, Config, errorMsgFilter) {
|
|||
batch($scope.containers, Container.remove, "Removed");
|
||||
};
|
||||
|
||||
// TODO: centralize (already exist in TemplatesController)
|
||||
var hideContainers = function (containers) {
|
||||
return containers.filter(function (container) {
|
||||
var filterContainer = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue