This commit is contained in:
2021-07-21 23:20:13 +00:00
parent 91d0692fd8
commit 8d3a614b9c
4 changed files with 8 additions and 8 deletions

View File

@@ -383,7 +383,7 @@ export default {
return this.$store.state.helpUrl;
},
titleDisplay() {
if (this.appBar.title == null) {
if (this.appBar.title == null || this.appBar.title == "") {
return null;
}
if (this.appBar.title.includes(":")) {

View File

@@ -71,7 +71,8 @@ export default {
},
get(key) {
if (!key) {
return "??NO_TRANSLATION_KEY";
console.trace("translation.js::get, no translation key was presented");
return "";
}
//no translation for Wiki
if (key == "Wiki") {

View File

@@ -977,11 +977,13 @@ function generateMenu(vm) {
isMain: false,
readOnly: vm.formState.readOnly,
icon: "$ayiCogs",
//title: vm.$ay.t("AdministrationGlobalSettings"),
title: "AdministrationGlobalSettings",
helpUrl: "adm-global-settings",
formData: {
ayaType: window.$gz.type.Project,
recordId: vm.$route.params.recordid
recordId: vm.$route.params.recordid,
recordName: vm.$ay.t("AdministrationGlobalSettings")
//,
//formCustomTemplateKey: FORM_CUSTOM_TEMPLATE_KEY,
},