From ad0e49d3a886940e1def4032f49f8e43d6469b9c Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Wed, 19 Jul 2023 10:27:47 +0200
Subject: [PATCH] Galaxy workflow state from analysis.status

---
 client/components/GenericTable.vue | 4 ++--
 client/pages/analysis.vue          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/client/components/GenericTable.vue b/client/components/GenericTable.vue
index b1229d14..c6783f82 100644
--- a/client/components/GenericTable.vue
+++ b/client/components/GenericTable.vue
@@ -85,8 +85,8 @@
         :state="value.state"
       ></analysis-state>
     </template>
-    <template #[`item.workflow_invocation_status`]="{ value }">
-      <InvocationState v-if="value" :state="value"></InvocationState>
+    <template #[`item.status`]="{ value }">
+      <invocation-state :state="value"></invocation-state>
     </template>
     <template #[`item.categories`]="{ value }">
       <PhenotypeCategoriesChips
diff --git a/client/pages/analysis.vue b/client/pages/analysis.vue
index 07cd02ed..baeaeeb5 100644
--- a/client/pages/analysis.vue
+++ b/client/pages/analysis.vue
@@ -53,7 +53,7 @@ export default {
         { text: 'Description', value: 'description' },
         { text: 'Creation Date', value: 'creation_date' },
         { text: 'Galaxy history state', value: 'history_status' },
-        { text: 'Galaxy workflow state', value: 'workflow_invocation_status' },
+        { text: 'Galaxy workflow state', value: 'status' },
         { text: 'Phenotypes', value: 'phenotypes' },
         { text: 'Additive covariates', value: 'covariates' },
         { text: 'Project', value: 'project.project_name' },
-- 
GitLab