Skip to content

Commit

Permalink
update pr: resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshataKatwal16 committed Aug 9, 2024
1 parent 86a053f commit de0057a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/AreaSelection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const AreaSelection: React.FC<DropdownBoxProps> = ({
tagName={t("FACILITATORS.STATE")}
selectedCategories={selectedState}
onCategoryChange={handleStateChangeWrapper}
overall={inModal ? false : true}
overall={!inModal}
defaultValue={t("COMMON.ALL_STATES")}

/>
Expand All @@ -111,7 +111,7 @@ const AreaSelection: React.FC<DropdownBoxProps> = ({
selectedCategories={selectedDistrict}
onCategoryChange={handleDistrictChangeWrapper}
disabled={selectedState?.length === 0 || (selectedState && selectedState[0] === "")}
overall={inModal ? false : true}
overall={!inModal}
defaultValue={t("COMMON.ALL_DISTRICTS")}

/>
Expand All @@ -126,7 +126,7 @@ const AreaSelection: React.FC<DropdownBoxProps> = ({
disabled={
selectedDistrict?.length === 0 || (selectedDistrict && selectedDistrict[0] === "")
}
overall={inModal ? false : true}
overall={!inModal}
defaultValue={t("COMMON.ALL_BLOCKS")}
/>
</Grid>
Expand All @@ -139,7 +139,7 @@ const AreaSelection: React.FC<DropdownBoxProps> = ({
selectedCategories={selectedCenter}
onCategoryChange={handleCenterChangeWrapper}
disabled={selectedBlock.length === 0 || selectedCenter[0] === ""}
overall={inModal ? false : true}
overall={!inModal}
/>
</Grid>
)}
Expand Down

0 comments on commit de0057a

Please sign in to comment.