From ead5498e051a2db2177184358b963f5426c9ad9c Mon Sep 17 00:00:00 2001 From: Ritika-Patel08 Date: Tue, 12 Mar 2024 14:19:50 +0530 Subject: [PATCH] Improved: code by changing the logic to get group names in system groups --- src/views/FindGroups.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/FindGroups.vue b/src/views/FindGroups.vue index d3d1f27c..597e5c5c 100644 --- a/src/views/FindGroups.vue +++ b/src/views/FindGroups.vue @@ -19,7 +19,7 @@ {{ groupType.description ? groupType.description : groupType.facilityGroupTypeId }} - + {{ group.facilityGroupName ? group.facilityGroupName : group.facilityGroupId }} @@ -236,7 +236,7 @@ export default defineComponent({ this.groups.map((group: any) => { if(group.facilityGroupTypeId && group.facilityGroupTypeId === facilityGroupTypeId) { - associatedfacilityGroupIds.push(group.facilityGroupName) + associatedfacilityGroupIds.push(group.facilityGroupId) } }) return associatedfacilityGroupIds