get doc version from serverVersion

Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
andy.lee
2024-11-12 11:50:36 +01:00
committed by Francesco Torchia
parent 541fee0f39
commit ebc14751e7
7 changed files with 30 additions and 21 deletions
@@ -7,7 +7,8 @@ import CommunityLinks from '@shell/components/CommunityLinks';
import { SCHEMA } from '@shell/config/types';
import HarvesterSupportBundle from '../../../../dialog/HarvesterSupportBundle';
import { HCI } from '../../../../types';
import { DOC_LINKS } from '../../../../config/doc-links';
import { DOC } from '../../../../config/doc-links';
import { docLink } from '../../../../utils/feature-flags';
export default {
components: {
@@ -75,7 +76,7 @@ export default {
},
rancherIntegrationLink() {
return DOC_LINKS.RANCHER_INTEGRATION_URL;
return docLink(DOC.RANCHER_INTEGRATION_URL, this.$store.getters);
},
},