This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
/* Xeslint-disable */
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
//NOTE: This is a simple form with no need for business rules or validation so stripped out any extraneous code related to all that
|
||||
// CUSTOMIZE A FORM'S FIELDS
|
||||
//
|
||||
const FORM_KEY = "customize";
|
||||
const API_BASE_URL = "form-custom/";
|
||||
|
||||
@@ -69,7 +69,9 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
/* Xeslint-disable */
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// CUSTOMIZE A DATA GRID'S VISIBLE COLUMNS
|
||||
//
|
||||
const FORM_KEY = "ay-data-list-column-view";
|
||||
const API_BASE_URL = "data-list-column-view/";
|
||||
|
||||
@@ -403,6 +405,10 @@ async function fetchTranslatedFieldNames(vm) {
|
||||
for (let i = 0; i < vm.fieldDefinitions.length; i++) {
|
||||
let cm = vm.fieldDefinitions[i];
|
||||
columnKeys.push(cm.tKey);
|
||||
//get section names too if present
|
||||
if (cm.tKeySection != null) {
|
||||
columnKeys.push(cm.tKeySection);
|
||||
}
|
||||
}
|
||||
|
||||
await window.$gz.translation.cacheTranslations(columnKeys);
|
||||
|
||||
Reference in New Issue
Block a user