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

pull/10280/head
LP B 2023-09-08 22:22:26 +02:00 committed by GitHub
parent b40b305e63
commit dfd415c62e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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