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

@@ -258,7 +258,7 @@ export default {
for (let i = 0; i < res.data.length; i++) {
vm.fieldKeys.push(res.data[i].tKey);
}
return window.$gz.translation.fetch(vm.fieldKeys);
return window.$gz.translation.cacheTranslations(vm.fieldKeys);
}
})
.then(function() {
@@ -460,7 +460,7 @@ function initForm(vm) {
function fetchTranslatedText(vm) {
let tKeysRequired = ["Include", "ResetToDefault"];
return window.$gz.translation.fetch(tKeysRequired);
return window.$gz.translation.cacheTranslations(tKeysRequired);
}
//////////////////////