Skip to content

Commit b0bb13a

Browse files
committed
Fix/mobile-RC names not visible on selecting a district in filter component
1 parent 01a1768 commit b0bb13a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

app/[locale]/[state]/analytics/components/filter-component.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,7 @@ export function FilterComp({
151151
options:
152152
revenueGeographiesData?.data?.getDistrictRevCircle?.[regionName]?.map(
153153
(circle: { code: string; [key: string]: string }) => ({
154-
label: circle['REVENUE CIRCLE']
155-
? circle['REVENUE CIRCLE']
156-
: circle['TEHSIL']
157-
? circle['TEHSIL']
158-
: circle['BLOCK'],
154+
label: circle[currentSelectedState.child_type],
159155
value: circle.code,
160156
})
161157
) || [],

0 commit comments

Comments
 (0)