From 812a74455e4e9087a466e1e24f2aa796731d02eb Mon Sep 17 00:00:00 2001 From: Swetha-Josh Date: Wed, 24 Jun 2026 13:10:46 +0530 Subject: [PATCH] updates --- ipi-survey-platform/src/services/masters/masterService.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipi-survey-platform/src/services/masters/masterService.js b/ipi-survey-platform/src/services/masters/masterService.js index c1c9362..268acdc 100644 --- a/ipi-survey-platform/src/services/masters/masterService.js +++ b/ipi-survey-platform/src/services/masters/masterService.js @@ -67,7 +67,8 @@ const toUnitOption = (item) => { const id = toStringOrNull(item.id ?? item.unit_id ?? item.value ?? item.code); const short = toStringOrNull(item.uom_short_name ?? item.short_name); const name = toStringOrNull(item.uom ?? item.name ?? item.label); - const label = toStringOrNull(short && name ? `${short} - ${name}` : name ?? short); + // const label = toStringOrNull(short && name ? `${short} - ${name}` : name ?? short); + const label = toStringOrNull(name ?? short); const finalLabel = label ?? id; if (!finalLabel) return null; return { label: finalLabel, value: id ?? finalLabel };