Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,8 @@ export function AnalyticsMainLayout() {
</div>
</TabPanel>
<TabPanel value="chart">
<div className=" mt-2 h-[calc(100dvh_-_140px)]">
{/* <div className=" mt-2 h-[calc(100dvh_-_140px)]"> */}
<div className="mt-2 h-full overflow-hidden">
<ChartView
currentSelectedState={currentSelectedState}
RevCircleDropdownOptions={RevCircleDropdownOptions}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export function AnalyticsMobileLayout({
) => {
RevCircleDropdownOptions.push({
label:
circle[stateCode == '02' ? 'tehsil' : 'revenue-circle'] ||
circle[currentSelectedState.child_type] ||
circle['revenue-circle'],
value: circle.code,
districtCode: circle.district_code,
Expand Down
16 changes: 8 additions & 8 deletions app/[locale]/[state]/analytics/components/filter-component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ export function FilterComp({
};

const FilterOptions: FilterButtonOption = [
{
title: 'State',
value: 'state',
options: statesList.map((state: any) => {
return { label: state.name, value: state.slug };
}),
type: 'radio-button',
},
// {
// title: 'State',
// value: 'state',
// options: statesList.map((state: any) => {
// return { label: state.name, value: state.slug };
// }),
// type: 'radio-button',
// },
{
title: 'District',
value: 'district',
Expand Down