This commit is contained in:
@@ -461,6 +461,8 @@ copy TTC to other grid lists as optional header field
|
|||||||
CASES TODO:
|
CASES TODO:
|
||||||
Some initial workorder cases to do
|
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
|
3500 1: implemented but needs the docs and seed data to illustrate the feature
|
||||||
make a shadow units customer in seeder sample data
|
make a shadow units customer in seeder sample data
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ const MaxLogLength = 100;
|
|||||||
Vue.use(Vuex);
|
Vue.use(Vuex);
|
||||||
|
|
||||||
//reset all local settings via url in case of fucked up situation
|
//reset all local settings via url in case of fucked up situation
|
||||||
|
//localhost:8080/login?reset
|
||||||
if (window.location.search) {
|
if (window.location.search) {
|
||||||
var searchParams = new URLSearchParams(window.location.search);
|
var searchParams = new URLSearchParams(window.location.search);
|
||||||
if (searchParams.has("reset")) {
|
if (searchParams.has("reset")) {
|
||||||
|
|||||||
@@ -404,13 +404,14 @@ async function fetchTranslatedFieldNames(vm) {
|
|||||||
let columnKeys = [];
|
let columnKeys = [];
|
||||||
for (let i = 0; i < vm.fieldDefinitions.length; i++) {
|
for (let i = 0; i < vm.fieldDefinitions.length; i++) {
|
||||||
let cm = vm.fieldDefinitions[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
|
//get section names too if present
|
||||||
if (cm.tKeySection != null) {
|
if (cm.tKeySection != null && !columnKeys.includes(cm.tKeySection)) {
|
||||||
columnKeys.push(cm.tKeySection);
|
columnKeys.push(cm.tKeySection);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
await window.$gz.translation.cacheTranslations(columnKeys);
|
await window.$gz.translation.cacheTranslations(columnKeys);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user