Fix bad rebase

This commit is contained in:
Neil MacDougall 2021-09-16 11:00:36 +01:00 committed by Richard Cox
parent e544d356e8
commit 3933374671
1 changed files with 1 additions and 5 deletions

View File

@ -53,17 +53,13 @@ export default {
showClusterSearch() {
return this.clusters.length > this.maxClustersToShow;
const all = this.$store.getters['management/all'](MANAGEMENT.CLUSTER);
const kubeClusters = filterOnlyKubernetesClusters(all);
return kubeClusters.length > this.maxClustersToShow;
},
clusters() {
const all = this.$store.getters['management/all'](MANAGEMENT.CLUSTER);
const kubeClusters = filterOnlyKubernetesClusters(all);
let out = kubeClusters.map((x) => {
return kubeClusters.map((x) => {
return {
id: x.id,
label: x.nameDisplay,