Skip to content
Snippets Groups Projects
Commit d3007d6d authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

typo, callback should be async

parent 160e9d03
No related branches found
No related tags found
No related merge requests found
...@@ -571,7 +571,7 @@ methods:{ ...@@ -571,7 +571,7 @@ methods:{
async getStatus(){ async getStatus(){
await this.$axios.$get('/queue_status/').then((function (resultStatus) { await this.$axios.$get('/queue_status/').then((async function (resultStatus) {
console.log(resultStatus); console.log(resultStatus);
this.activeTask = resultStatus.active; this.activeTask = resultStatus.active;
this.pendingTask = resultStatus.reserved; this.pendingTask = resultStatus.reserved;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment