This commit is contained in:
2021-07-21 17:28:26 +00:00
parent b4195d30bd
commit 8578a57dba
3 changed files with 7 additions and 3 deletions

View File

@@ -461,6 +461,8 @@ copy TTC to other grid lists as optional header field
CASES TODO:
Some initial workorder cases to do
todo: alt language sample users don't have rights to service?
this is to show off language so they need rights to all areas like superuser
3500 1: implemented but needs the docs and seed data to illustrate the feature
make a shadow units customer in seeder sample data

View File

@@ -8,6 +8,7 @@ const MaxLogLength = 100;
Vue.use(Vuex);
//reset all local settings via url in case of fucked up situation
//localhost:8080/login?reset
if (window.location.search) {
var searchParams = new URLSearchParams(window.location.search);
if (searchParams.has("reset")) {

View File

@@ -404,13 +404,14 @@ async function fetchTranslatedFieldNames(vm) {
let columnKeys = [];
for (let i = 0; i < vm.fieldDefinitions.length; i++) {
let cm = vm.fieldDefinitions[i];
columnKeys.push(cm.tKey);
if (!columnKeys.includes(cm.tKey)) {
columnKeys.push(cm.tKey);
}
//get section names too if present
if (cm.tKeySection != null) {
if (cm.tKeySection != null && !columnKeys.includes(cm.tKeySection)) {
columnKeys.push(cm.tKeySection);
}
}
await window.$gz.translation.cacheTranslations(columnKeys);
}