From f898e3f9af821aeb40b203a58f01367755a530f5 Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Fri, 5 Apr 2024 20:36:14 +0200
Subject: [PATCH] remove sleep

---
 components/content/ArticleSystemDistributionPlot.vue | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/components/content/ArticleSystemDistributionPlot.vue b/components/content/ArticleSystemDistributionPlot.vue
index d90dafcb..695219ae 100644
--- a/components/content/ArticleSystemDistributionPlot.vue
+++ b/components/content/ArticleSystemDistributionPlot.vue
@@ -198,12 +198,7 @@ async function fetchSystemHits() {
     } catch (error) {
         throw createError(`Cannot get hits on refseq for system: ${toValue(systemName)} `)
     } finally {
-        setTimeout(() => {
-            console.log("Delayed for 1 second.");
-            pending.value = false
-        }, "3000");
-
-
+        pending.value = false
     }
 }
 
-- 
GitLab