fix(ui): filter item check for subcategory first
This commit is contained in:
parent
5d49a91dde
commit
d4092ebc69
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ function FilterSelection(props: Props) {
|
|||
onClick={() => setShowModal(true)}
|
||||
>
|
||||
<div className='text-xs text-neutral-500/90 hover:border-neutral-400'>{getNewIcon(filter)}</div>
|
||||
<div className={'text-neutral-500/90 flex gap-2 hover:border-neutral-400 '}>{`${filter.category} •`}</div>
|
||||
<div className={'text-neutral-500/90 flex gap-2 hover:border-neutral-400 '}>{`${filter.subCategory ? filter.subCategory : filter.category} •`}</div>
|
||||
<div
|
||||
className="rounded-lg overflow-hidden whitespace-nowrap text-ellipsis mr-auto truncate "
|
||||
style={{ textOverflow: 'ellipsis' }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue