From 388df322056d655879b39e91d5f98d2851d202ca Mon Sep 17 00:00:00 2001
From: liliana <liliana.sanfilippo@uni-bielefeld.de>
Date: Wed, 11 Sep 2024 15:08:37 +0200
Subject: [PATCH] goals

---
 src/components/Tabs.tsx | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/components/Tabs.tsx b/src/components/Tabs.tsx
index 2d65c70f..9a3c9fc7 100644
--- a/src/components/Tabs.tsx
+++ b/src/components/Tabs.tsx
@@ -32,6 +32,15 @@ import { BlockQuoteB } from "./Quotes";
         problem_desc.push("interview language"); 
       }
 
+      /* Aim/Goal */
+      var goalheading: string = ""; 
+      if(data[i].type === "meta"){
+        goalheading = "Goals"; 
+      }
+      else{
+        goalheading = "Aim of contact"
+      }
+
       /* Quotation */
       var quoted: string = ""; 
       if(data[i].quote != ""){
@@ -50,7 +59,7 @@ import { BlockQuoteB } from "./Quotes";
       /* textparts */
       if(data[i].aimofcontact === ""){
         problem = true;
-        problem_desc.push(" aim of contact missing"); 
+        problem_desc.push(" " + goalheading + " missing"); 
       }
       if(data[i].insights === ""){
         problem = true;
@@ -94,6 +103,8 @@ import { BlockQuoteB } from "./Quotes";
         }
       }
 
+
+
       let node = <>
                 <br/>
                   <h3>{data[i].vorname} {data[i].nachnname}</h3>
@@ -114,7 +125,7 @@ import { BlockQuoteB } from "./Quotes";
                       <img className="middle sechpro" src={data[i].pictureurl}/>
                     </div>
                   </div>
-                  <h4>Aim of contact</h4>
+                  <h4>{goalheading}</h4>
                   <p>{data[i].aimofcontact}</p>
                   <h4>Insights</h4>
                   <p>{data[i].insights}</p>
-- 
GitLab