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

@@ -460,10 +460,7 @@ CASES TODO:
Some initial workorder cases to do Some initial workorder cases to do
bugbug: data tables are showing the translation key, not the translation in the top of the list, however the page title is correctly translated AdministrationGlobalSettings showing instead of translation? Is this valid. Yes key is valid, not sure why it's not translated
wtf?
AdministrationGlobalSettings showing instead of translation? Is this valid
3721 1: make labor rate mandatory on workorderitemlabor record and import v7 with some kind of dummy rate if not filled in there 3721 1: make labor rate mandatory on workorderitemlabor record and import v7 with some kind of dummy rate if not filled in there
um...be sure about this, mandatory stuff kind of sucks, what's up in that case? um...be sure about this, mandatory stuff kind of sucks, what's up in that case?

View File

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

View File

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

View File

@@ -977,11 +977,13 @@ function generateMenu(vm) {
isMain: false, isMain: false,
readOnly: vm.formState.readOnly, readOnly: vm.formState.readOnly,
icon: "$ayiCogs", icon: "$ayiCogs",
//title: vm.$ay.t("AdministrationGlobalSettings"),
title: "AdministrationGlobalSettings", title: "AdministrationGlobalSettings",
helpUrl: "adm-global-settings", helpUrl: "adm-global-settings",
formData: { formData: {
ayaType: window.$gz.type.Project, 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, //formCustomTemplateKey: FORM_CUSTOM_TEMPLATE_KEY,
}, },