mirror of https://github.com/rancher/dashboard.git
HARVESTER:fix:header link in preferences is broken
https://github.com/harvester/harvester/issues/1100
This commit is contained in:
parent
fca599d114
commit
0252630855
|
|
@ -92,10 +92,12 @@ export default {
|
|||
},
|
||||
|
||||
harvesterDashboard() {
|
||||
const cluster = this.$store.getters.defaultClusterId;
|
||||
|
||||
return {
|
||||
name: 'c-cluster-product-resource',
|
||||
params: {
|
||||
...this.$route.params,
|
||||
cluster,
|
||||
product: VIRTUAL,
|
||||
resource: HCI.DASHBOARD,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -140,6 +140,7 @@ export default {
|
|||
|
||||
if (this.$store.getters['currentProduct'].name === 'virtual') {
|
||||
const setting = this.$store.getters['virtual/byId'](HCI.SETTING, 'server-version');
|
||||
|
||||
displayVersion = setting?.value || 'unknown';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue