From 51bee81d87f5a7548a7e53b19e5a0e86d4578320 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Silvano=20Ald=C3=A0?= <silvano.alda@sib.swiss>
Date: Tue, 17 Dec 2024 15:09:35 +0100
Subject: [PATCH] chat: debug env var

---
 client/pages/chat.vue | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/client/pages/chat.vue b/client/pages/chat.vue
index d5e6c52..eca8637 100644
--- a/client/pages/chat.vue
+++ b/client/pages/chat.vue
@@ -1,5 +1,5 @@
 <template>
-  <AppContainer v-if="!isProduction" size="md" class="flex flex-col h-full">
+  <AppContainer v-if="!isProduction" :data-env="env" size="md" class="flex flex-col h-full">
     <!-- <AppSection class="py-5" :divided="['top']"></AppSection> -->
     <div class="text-left my-5 border-t pt-5 pb-5 border-b">
       <p>
@@ -66,6 +66,9 @@ export default {
     };
   },
   computed: {
+    env() {
+      return process.env.NODE_ENV;
+    },
     isProduction() {
       return process.env.NODE_ENV === 'production';
     },
-- 
GitLab