mirror of https://github.com/portainer/portainer
fix(app/stacks): swarm stacks incorrectly marked as orphaned (#10319)
parent
c18504d6f1
commit
a66942aa5a
|
@ -193,7 +193,7 @@ angular.module('portainer.app').factory('StackService', [
|
|||
})
|
||||
.then(function success(data) {
|
||||
var stacks = data.stacks.map(function (item) {
|
||||
return new StackViewModel(item, item.EndpointId == endpointId);
|
||||
return new StackViewModel(item, item.EndpointId != endpointId);
|
||||
});
|
||||
|
||||
var externalStacks = data.externalStacks;
|
||||
|
|
Loading…
Reference in New Issue