Fix HistoryControls Select clear button requiring double click
Same fix as TaskControls: pass null instead of undefined to Mantine Select value prop so the clear button disappears on first click. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
3e2e44ccfc
commit
ec0945d8b9
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ export function HistoryControls({
|
||||||
<Select
|
<Select
|
||||||
placeholder="All methods"
|
placeholder="All methods"
|
||||||
data={METHOD_OPTIONS}
|
data={METHOD_OPTIONS}
|
||||||
value={methodFilter}
|
value={methodFilter ?? null}
|
||||||
onChange={(value) => onMethodFilterChange(value ?? "")}
|
onChange={(value) => onMethodFilterChange(value ?? "")}
|
||||||
clearable
|
clearable
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue