mirror of https://github.com/portainer/portainer
parent
7fb2e44146
commit
fbcf67bc1e
|
@ -16,7 +16,7 @@ class KubernetesStackService {
|
||||||
async getAllAsync(namespace) {
|
async getAllAsync(namespace) {
|
||||||
const applications = await this.KubernetesApplicationService.get(namespace);
|
const applications = await this.KubernetesApplicationService.get(namespace);
|
||||||
const stacks = _.map(applications, (item) => item.StackName);
|
const stacks = _.map(applications, (item) => item.StackName);
|
||||||
return _.uniq(_.without(stacks, '-'));
|
return _.uniq(_.without(stacks, '-', ''));
|
||||||
}
|
}
|
||||||
|
|
||||||
get(namespace) {
|
get(namespace) {
|
||||||
|
|
Loading…
Reference in New Issue