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:
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user