Commit d3007d6d authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

typo, callback should be async

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