1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

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

This commit is contained in:
Chaim Lev-Ari 2021-05-19 00:06:04 +03:00 committed by GitHub
parent 43702c2516
commit b3784792fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {