change(ui): fitler series expand on click header part
This commit is contained in:
parent
218dbb6c86
commit
95c6de95a0
1 changed files with 2 additions and 3 deletions
|
|
@ -138,10 +138,9 @@ function FilterSeries(props: Props) {
|
|||
)}
|
||||
|
||||
{expandable && !expanded && (
|
||||
<Space className="justify-between w-full px-5 py-2">
|
||||
<Space className="justify-between w-full px-5 py-2 cursor-pointer" onClick={() => setExpanded(!expanded)}>
|
||||
<FilterCountLabels filters={series.filter.filters} toggleExpand={() => setExpanded(!expanded)}/>
|
||||
<Button onClick={() => setExpanded(!expanded)}
|
||||
size="small"
|
||||
<Button size="small"
|
||||
icon={expanded ? <ChevronUp size={16}/> : <ChevronDown size={16}/>}/>
|
||||
</Space>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue