From d3007d6d48d8ca13f0a922ed09ab75bcc5e76b65 Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Tue, 17 May 2022 12:45:11 +0200
Subject: [PATCH] typo, callback should be async

---
 client/pages/projects/_id.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/pages/projects/_id.vue b/client/pages/projects/_id.vue
index a2ae593b..d80c16df 100644
--- a/client/pages/projects/_id.vue
+++ b/client/pages/projects/_id.vue
@@ -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;
-- 
GitLab