mirror of https://github.com/portainer/portainer
fix(app/stacks): stacks incorrectly marked as orphaned (#10273)
parent
b40b305e63
commit
dfd415c62e
|
@ -164,7 +164,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