1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-26 00:39:41 +02:00

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

This commit is contained in:
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

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;