all over the place with comments and console statements but now properly chains all the calls for login (except translation may have an issue)

This commit is contained in:
2020-06-10 21:05:45 +00:00
parent c0fcecb3f8
commit 0a43e53ab7
25 changed files with 1966 additions and 976 deletions

View File

@@ -1006,7 +1006,7 @@ function fetchTranslatedText(vm) {
"Name"
];
return window.$gz.translation.fetch(tKeysRequired);
return window.$gz.translation.cacheTranslations(tKeysRequired);
}
/////////////////////////////////
@@ -1182,7 +1182,7 @@ function fetchTranslatedFieldNames(vm) {
columnKeys.push(cm.tKey);
}
//Now fetch all the keys and await the response before returning
return window.$gz.translation.fetch(columnKeys).then(() => {
return window.$gz.translation.cacheTranslations(columnKeys).then(() => {
return;
});
}