Skip to content

Commit

Permalink
Fixed highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Jun 11, 2021
1 parent 1207016 commit 7b514ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function MetadataFilterVersionListItem ({ filters, width, selected, index

<div style={{ width }} className="border-primary">
{filter ?
<div className={`p-2 d-flex align-items-center ${((n % 2 === 0) && selected !== filter.resourceId) ? 'bg-lighter' : 'bg-primary-light'}`}>
<div className={`p-2 d-flex align-items-center ${(selected === filter.resourceId) ? 'bg-primary-light' : ((n % 2 === 0) ? '' : 'bg-lighter')}`}>
<div className="w-50">
<p className="mb-0">{filter.name}</p>
<p className="mb-0 text-muted">{filter['@type']}</p>
Expand Down

0 comments on commit 7b514ba

Please sign in to comment.