This commit is contained in:
2021-09-30 23:22:40 +00:00
parent ea8f4287bd
commit 529df52e9e
2 changed files with 15 additions and 28 deletions

View File

@@ -201,16 +201,18 @@ function generateMenu(vm) {
icon: "$ayiGlasses",
key: "app:nav:log",
data: "ay-log"
},
{
title: "HelpTechSupport",
icon: "$ayiLifeRing",
href: window.$gz.menu.contactSupportUrl(),
target: "_blank",
key: "about:contact"
}
]
};
if (!window.$gz.store.getters.isCustomerUser) {
menuOptions.menuItems.push({
title: "HelpTechSupport",
icon: "$ayiLifeRing",
href: window.$gz.menu.contactSupportUrl(),
target: "_blank",
key: "about:contact"
});
}
window.$gz.eventBus.$emit("menu-change", menuOptions);
}
@@ -262,6 +264,7 @@ async function initForm(vm) {
async function fetchTranslatedText(vm) {
await window.$gz.translation.cacheTranslations([
"HelpAboutAyaNova",
"HelpTechSupport",
"CopySupportInfo",
"Server",
"Version",