Skip to content

Commit

Permalink
Fixed: Modal will display Other as group type for unlinked facility…
Browse files Browse the repository at this point in the history
… groups(#258)
  • Loading branch information
R-Sourabh committed Oct 24, 2024
1 parent 33cbb71 commit f45d25e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AddFacilityGroupModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<form @keyup.enter="updateGroups">
<ion-list>
<ion-item-group v-for="(groups, typeId) in filteredFacilityGroupsByType" :key="typeId">
<ion-item-divider color="medium">{{ getFacilityGroupTypeDesc(typeId) }}</ion-item-divider>
<ion-item-divider color="medium">{{ typeId === "null" ? translate('Others') : getFacilityGroupTypeDesc(typeId) }}</ion-item-divider>
<ion-item v-for="group in groups" :key="group.facilityGroupId">
<ion-checkbox :checked="isFacilityGroupLinked(group.facilityGroupId)" @ion-change="updateGroupsForFacility(group.facilityGroupId)">{{ group.facilityGroupName }}</ion-checkbox>
</ion-item>
Expand Down

0 comments on commit f45d25e

Please sign in to comment.