mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 06:49:40 +02:00
filter empty stacks in dropdown (#5771)
filter empty stacks in dropdown (#5771)
This commit is contained in:
parent
7fb2e44146
commit
fbcf67bc1e
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class KubernetesStackService {
|
|||
async getAllAsync(namespace) {
|
||||
const applications = await this.KubernetesApplicationService.get(namespace);
|
||||
const stacks = _.map(applications, (item) => item.StackName);
|
||||
return _.uniq(_.without(stacks, '-'));
|
||||
return _.uniq(_.without(stacks, '-', ''));
|
||||
}
|
||||
|
||||
get(namespace) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue