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:
@@ -1,6 +1,7 @@
|
||||
<script>
|
||||
import { Banner } from '@components/Banner';
|
||||
import { DOC_LINKS } from '../config/doc-links';
|
||||
import { DOC } from '../config/doc-links';
|
||||
import { docLink } from '../utils/feature-flags';
|
||||
|
||||
export default {
|
||||
name: 'HarvesterUpgradeInfo',
|
||||
@@ -20,7 +21,7 @@ export default {
|
||||
},
|
||||
|
||||
upgradeLink() {
|
||||
return DOC_LINKS.UPGRADE_URL;
|
||||
return docLink(DOC.UPGRADE_URL, this.$store.getters);
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user