get doc version from serverVersion

Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
andy.lee authored and Francesco Torchia committed 2024-11-12 11:50:36 +01:00
1 parent 541fee0f39
commit ebc14751e7
7 files changed
+30 -21

No files matched your search

@@ -5,7 +5,8 @@ import UnitInput from '@shell/components/form/UnitInput';
import { RadioGroup } from '@components/Form/Radio';
import { Checkbox } from '@components/Form/Checkbox';
import { HCI } from '../../types';
import { DOC_LINKS } from '../../config/doc-links';
import { DOC } from '../../config/doc-links';
import { docLink } from '../../utils/feature-flags';
export const ksmtunedMode = [{
value: 'standard',
@@ -90,7 +91,7 @@ export default {
},
ksmtunedLink() {
return DOC_LINKS.KSMTUNED_MODE;
return docLink(DOC.KSMTUNED_MODE, this.$store.getters);
}
},