This commit is contained in:
2019-12-09 22:33:20 +00:00
parent 10437c4ca4
commit 4dce450bbd
3 changed files with 30 additions and 19 deletions

View File

@@ -34,6 +34,7 @@ export default {
formKey: formKey,
value: addDataKeyNames(JSON.parse(res.data.template))
});
resolve();
});
} else {

View File

@@ -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) {