add getServerVersion in harvester-common store

This commit is contained in:
andy.lee
2024-11-12 11:50:46 +01:00
committed by Francesco Torchia
parent 5cc8a69052
commit 86461e1dbd
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ export default {
},
upgradeLink() {
const version = this.$rootGetters['harvester-common/getServerVersion']();
const version = this.$store.getters['harvester-common/getServerVersion']();
return docLink(DOC.UPGRADE_URL, version);
}
@@ -88,7 +88,7 @@ export default {
computed: {
storageNetworkExampleLink() {
const version = this.$rootGetters['harvester-common/getServerVersion']();
const version = this.$store.getters['harvester-common/getServerVersion']();
return docLink(DOC.STORAGE_NETWORK_EXAMPLE, version);
},