Skip to content

Commit

Permalink
Update AgencyFilter.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed May 2, 2024
1 parent 104f0da commit 2e168aa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 6 additions & 2 deletions backend/src/components/AgencyFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const AgencyFilter = ({
}

return (
((agencies.length > 1 && agencies.length < 17)
(agencies.length > 1
&& (
<Accordion
title={commonStrings.AGENCY}
Expand All @@ -124,7 +124,11 @@ const AgencyFilter = ({
onChange={handleCheckAgencyChange}
/>
<span role="button" tabIndex={0} onClick={handleAgencyClick}>
<img src={movininHelper.joinURL(env.CDN_USERS, agency.avatar)} alt={agency.fullName} />
<img
src={movininHelper.joinURL(env.CDN_USERS, agency.avatar)}
alt={agency.fullName}
title={agency.fullName}
/>
</span>
</li>
))}
Expand Down
6 changes: 5 additions & 1 deletion frontend/src/components/AgencyFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,11 @@ const AgencyFilter = ({
role="button"
tabIndex={0}
>
<img src={movininHelper.joinURL(env.CDN_USERS, agency.avatar)} alt={agency.fullName} />
<img
src={movininHelper.joinURL(env.CDN_USERS, agency.avatar)}
alt={agency.fullName}
title={agency.fullName}
/>
</span>
</li>
))}
Expand Down

0 comments on commit 2e168aa

Please sign in to comment.