mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-03 20:56:06 +08:00
get doc version from serverVersion
Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
@@ -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);
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user