mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
add getServerVersion in harvester-common store
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user