From b3cea7e9c542575e4c02b086035384b081c2d326 Mon Sep 17 00:00:00 2001
From: Andy Leuchtturm <d-leuchtturm@gmx.net>
Date: Thu, 28 Sep 2023 11:22:38 +0200
Subject: [PATCH] =?UTF-8?q?remove=20chip=20from=20ServiceTag=20f=C3=BCr=20?=
 =?UTF-8?q?IT-Standards?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/it-standards/ServiceTag.tsx | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/components/it-standards/ServiceTag.tsx b/components/it-standards/ServiceTag.tsx
index a174f41..922da9f 100644
--- a/components/it-standards/ServiceTag.tsx
+++ b/components/it-standards/ServiceTag.tsx
@@ -1,6 +1,4 @@
-import Chip from '@/components/Chip'
 import { Tag } from 'types/content/'
-import { translateLabel, translateTag } from '@/lib/utils/labelHelper'
 import LifecyclePicture from '@/components/it-standards/LifecyclePicture'
 
 type ServiceTagOptions = {
@@ -8,10 +6,6 @@ type ServiceTagOptions = {
   style: string
 }
 
-const formatLabel = (tag: Tag) => {
-    return `${translateLabel(tag.name)}: ${translateTag(tag)}`
-}
-
 export default ({ tag, style }: ServiceTagOptions) => {
     /* beim tag 'status' soll das zugehĂśrige Lebenszyklus-Bild ausgegeben werden */
     if (tag.name == 'status') {
@@ -19,7 +13,4 @@ export default ({ tag, style }: ServiceTagOptions) => {
             <LifecyclePicture {...tag } />
         )
     }
-    return (
-        <Chip text={formatLabel(tag)} style={`${style} capitalize ${tag.name == 'label' && tag.value == 'external' ? 'hidden' : ''}`} />
-    )
 }
-- 
GitLab