diff --git a/assets/translations/en-us.yaml b/assets/translations/en-us.yaml index 8e61e1405a..3b9630d6eb 100644 --- a/assets/translations/en-us.yaml +++ b/assets/translations/en-us.yaml @@ -262,6 +262,8 @@ catalog: partner: Partner rancher: Rancher header: Deploy Chart + noCharts: 'There are no charts available, have you added any repos?' + noWindows: Your catalogs do not contain any charts capable of being deployed on a Windows cluster. search: Filter install: action: @@ -307,8 +309,8 @@ catalog: operation: tableHeaders: action: Action - releaseNamespace: Release Namespace releaseName: Release Name + releaseNamespace: Release Namespace repo: action: refresh: Refresh diff --git a/components/nav/ClusterSwitcher.vue b/components/nav/ClusterSwitcher.vue index 024799f99b..db40c725e9 100644 --- a/components/nav/ClusterSwitcher.vue +++ b/components/nav/ClusterSwitcher.vue @@ -2,13 +2,15 @@ import { MANAGEMENT } from '@/config/types'; import { sortBy } from '@/utils/sort'; import { findBy } from '@/utils/array'; -import { mapState } from 'vuex'; +import { mapGetters, mapState } from 'vuex'; import Select from '@/components/form/Select'; export default { components: { Select }, + computed: { ...mapState(['isMultiCluster']), + ...mapGetters(['currentCluster']), value: { get() { @@ -36,9 +38,10 @@ export default { const out = all.map((x) => { return { - id: x.id, - label: x.nameDisplay, - ready: x.isReady, + id: x.id, + label: x.nameDisplay, + ready: x.isReady, + osLogo: x.providerOSLogo, }; }); @@ -66,8 +69,12 @@ export default { :options="options" >