From 5901211840aa9b9bcf0d384bc6ee762ed183b375 Mon Sep 17 00:00:00 2001 From: Florian Sellmayr Date: Fri, 22 Nov 2024 10:08:47 +0100 Subject: [PATCH] (fix) O3-4416 Remove duplicated tag definition in QueuePriority component --- .../queue-priority.component.tsx | 35 +++++++++---------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/packages/esm-service-queues-app/src/queue-entry-table-components/queue-priority.component.tsx b/packages/esm-service-queues-app/src/queue-entry-table-components/queue-priority.component.tsx index 670cedb6e..f063075c0 100644 --- a/packages/esm-service-queues-app/src/queue-entry-table-components/queue-priority.component.tsx +++ b/packages/esm-service-queues-app/src/queue-entry-table-components/queue-priority.component.tsx @@ -13,31 +13,28 @@ interface QueuePriorityProps { const QueuePriority: React.FC = ({ priority, priorityComment, priorityConfigs }) => { const priorityConfig = priorityConfigs.find((c) => c.conceptUuid === priority.uuid); + + let tag = ( + + {priority.display} + + ); + return ( <> {priorityComment ? ( - - {priority.display} - + {tag} ) : ( - - {priority.display} - + tag )} );