mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
fix: search clear bug
This commit is contained in:
parent
b1d9437d99
commit
ee2d852ef2
@ -271,14 +271,12 @@ export const ArchiveTable = ({
|
||||
: data.length
|
||||
})`}
|
||||
actions={
|
||||
<>
|
||||
<Search
|
||||
initialValue={searchValue}
|
||||
onChange={setSearchValue}
|
||||
hasFilters
|
||||
getSearchContext={getSearchContext}
|
||||
/>
|
||||
</>
|
||||
}
|
||||
/>
|
||||
}
|
||||
|
@ -93,7 +93,7 @@ export const Search = ({
|
||||
<IconButton
|
||||
size="small"
|
||||
onClick={() => {
|
||||
onChange('');
|
||||
onSearchChange('');
|
||||
ref.current?.focus();
|
||||
}}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user