fix(stacks): show containers only for standalone (#5080)
parent
43702c2516
commit
b3784792fe
|
@ -269,8 +269,7 @@ angular.module('portainer.app').controller('StackController', [
|
|||
var stack = data.stack;
|
||||
$scope.groups = data.groups;
|
||||
$scope.stack = stack;
|
||||
$scope.containers = data.containers;
|
||||
$scope.containerNames = ContainerHelper.getContainerNames($scope.containers);
|
||||
$scope.containerNames = ContainerHelper.getContainerNames(data.containers);
|
||||
|
||||
let resourcesPromise = Promise.resolve({});
|
||||
if (stack.Status === 1) {
|
||||
|
|
Loading…
Reference in New Issue