Skip to content

Commit

Permalink
fixing the filter issue in the resource section
Browse files Browse the repository at this point in the history
  • Loading branch information
vipinpaul committed Oct 26, 2023
1 parent aaf48b0 commit 3ae4a0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ function DownloadResourcePopUp({ selectResource, isOpenDonwloadPopUp, setIsOpenD
multiSelect
/>
<div className="flex flex-wrap gap-2 mt-2 mb-2">
{selectedTypeFilter.map((type, idx) => (
{ selectResource === 'bible' && selectedTypeFilter.map((type, idx) => (
<div
key={idx}
className="flex items-center justify-center gap-2 px-3 py-1 bg-gray-200 rounded-full"
Expand Down

0 comments on commit 3ae4a0b

Please sign in to comment.