Use isRancher for Ember UI link instead of isMultiCluster

This commit is contained in:
Vincent Fiduccia 2021-04-26 14:46:48 -07:00
parent 3b633b950f
commit 5603b5a94f
No known key found for this signature in database
GPG Key ID: 2B29AD6BB2BB2582
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ export default {
computed: {
...mapGetters(['clusterId']),
...mapGetters(['clusterReady', 'isMultiCluster', 'currentCluster',
...mapGetters(['clusterReady', 'isRancher', 'currentCluster',
'currentProduct', 'backToRancherLink', 'backToRancherGlobalLink']),
...mapGetters('type-map', ['activeProducts']),
...mapGetters('i18n', ['selectedLocaleLabel', 'availableLocales']),
@ -235,7 +235,7 @@ export default {
</template>
<div class="pad"></div>
<div class="cluster-manager">
<a v-if="currentProduct && isMultiCluster" class="btn role-tertiary" :href="(currentProduct.inStore === 'management' ? backToRancherGlobalLink : backToRancherLink)">
<a v-if="currentProduct && isRancher" class="btn role-tertiary" :href="(currentProduct.inStore === 'management' ? backToRancherGlobalLink : backToRancherLink)">
{{ t('nav.backToRancher') }}
</a>
</div>