This commit is contained in:
@@ -34,6 +34,7 @@ export default {
|
||||
formKey: formKey,
|
||||
value: addDataKeyNames(JSON.parse(res.data.template))
|
||||
});
|
||||
|
||||
resolve();
|
||||
});
|
||||
} else {
|
||||
|
||||
@@ -279,6 +279,11 @@ export default {
|
||||
.then(that.status)
|
||||
.then(that.json)
|
||||
.then(response => {
|
||||
//KEEP this for diagnostics and testing to put a delay on fetches to check if my promise-fu is on point
|
||||
// setTimeout(() => {
|
||||
// console.log("gzapi::get->Calling resolve now for " + route);
|
||||
// resolve(response); // (**)
|
||||
// }, 2000);
|
||||
resolve(response);
|
||||
})
|
||||
.catch(function handleGetError(error) {
|
||||
|
||||
Reference in New Issue
Block a user