fix(stacks): show containers only for standalone (#5080)

pull/5090/head
Chaim Lev-Ari 4 years ago committed by GitHub
parent 43702c2516
commit b3784792fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -269,8 +269,7 @@ angular.module('portainer.app').controller('StackController', [
var stack = data.stack; var stack = data.stack;
$scope.groups = data.groups; $scope.groups = data.groups;
$scope.stack = stack; $scope.stack = stack;
$scope.containers = data.containers; $scope.containerNames = ContainerHelper.getContainerNames(data.containers);
$scope.containerNames = ContainerHelper.getContainerNames($scope.containers);
let resourcesPromise = Promise.resolve({}); let resourcesPromise = Promise.resolve({});
if (stack.Status === 1) { if (stack.Status === 1) {

Loading…
Cancel
Save