HARVESTER:fix:header link in preferences is broken

https://github.com/harvester/harvester/issues/1100
This commit is contained in:
n313893254 2021-08-19 16:23:14 +08:00 committed by wujun
parent fca599d114
commit 0252630855
2 changed files with 4 additions and 1 deletions

View File

@ -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,
}

View File

@ -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';
}