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

@@ -458,12 +458,9 @@ CURRENTLY DOING: more misc stuff below to complete workorder!!!
CASES TODO:
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
wtf?
AdministrationGlobalSettings showing instead of translation? Is this valid
AdministrationGlobalSettings showing instead of translation? Is this valid. Yes key is valid, not sure why it's not translated
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?

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,
},