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

fix(app/stacks): swarm stacks incorrectly marked as orphaned (#10319)

This commit is contained in:
LP B 2023-09-20 12:40:08 +02:00 committed by GitHub
parent c18504d6f1
commit a66942aa5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;