From c07e39d4afedb14177ee924992c3c6f913c48c74 Mon Sep 17 00:00:00 2001
From: nidhigarg-bmw <101316912+nidhigarg-bmw@users.noreply.github.com>
Date: Mon, 7 Aug 2023 11:56:26 +0530
Subject: [PATCH] feat(technical user): add hyphen if no description (#193)
---
.../overlays/AddTechnicalUser/TechnicalUserAddForm.tsx | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/components/overlays/AddTechnicalUser/TechnicalUserAddForm.tsx b/src/components/overlays/AddTechnicalUser/TechnicalUserAddForm.tsx
index 46417def3..1b885a881 100644
--- a/src/components/overlays/AddTechnicalUser/TechnicalUserAddForm.tsx
+++ b/src/components/overlays/AddTechnicalUser/TechnicalUserAddForm.tsx
@@ -81,11 +81,9 @@ const TechnicalUserAddFormSelect = ({
display: 'flex',
}}
/>
- {role.roleDescription && (
-
- {role.roleDescription}
-
- )}
+
+ {role.roleDescription ?? '-'}
+
>
))}
{!!errors[name] && (