diff --git a/frontend/src/business/components/api/head/ApiHeaderMenus.vue b/frontend/src/business/components/api/head/ApiHeaderMenus.vue index 982ecc1960..68275d6e10 100644 --- a/frontend/src/business/components/api/head/ApiHeaderMenus.vue +++ b/frontend/src/business/components/api/head/ApiHeaderMenus.vue @@ -5,26 +5,26 @@ - + {{ $t("i18n.home") }} - + {{ $t("i18n.home") }} - + {{ $t("i18n.definition") }} - + {{ $t("i18n.automation") }} - + {{ $t("i18n.report") }} - @@ -35,7 +35,7 @@ :title="$t('load_test.create')"/> - @@ -44,7 +44,7 @@ - {{ $t('commons.monitor') }} @@ -64,6 +64,7 @@ import MsCreateTest from "../../common/head/CreateTest"; import {ApiEvent, LIST_CHANGE} from "@/business/components/common/head/ListEvent"; import SearchList from "@/business/components/common/head/SearchList"; import ProjectChange from "@/business/components/common/head/ProjectSwitch"; +import {mapGetters} from "vuex"; export default { name: "MsApiHeaderMenus", @@ -94,6 +95,12 @@ export default { currentProject: '' } }, + computed: { + ...mapGetters([ + 'isNewVersion', + 'isOldVersion', + ]) + }, methods: { registerEvents() { ApiEvent.$on(LIST_CHANGE, () => { diff --git a/frontend/src/business/components/common/head/HeaderTopMenus.vue b/frontend/src/business/components/common/head/HeaderTopMenus.vue index 7f2cc6056c..8d559d0e94 100644 --- a/frontend/src/business/components/common/head/HeaderTopMenus.vue +++ b/frontend/src/business/components/common/head/HeaderTopMenus.vue @@ -30,6 +30,7 @@