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