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

pull/10302/head^2
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
1 changed files with 1 additions and 1 deletions

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;