Refactoring feature flags store functions

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia
2024-11-12 11:50:44 +01:00
parent 8ba4dbd9e8
commit 021a64a5ec
10 changed files with 39 additions and 28 deletions
@@ -76,7 +76,9 @@ export default {
},
rancherIntegrationLink() {
return docLink(DOC.RANCHER_INTEGRATION_URL, this.$store.getters);
const version = this.$rootGetters['harvester-common/getServerVersion']();
return docLink(DOC.RANCHER_INTEGRATION_URL, version);
},
},