diff --git a/components/it-standards/ServiceTag.tsx b/components/it-standards/ServiceTag.tsx index a174f411a6dcea9788000648072e943ef897bbe9..922da9f50195e658c6c33d862746d593a56fb848 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' : ''}`} /> - ) }