mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Watcher] Fix search bug that crashes the app (#162687)
This commit is contained in:
parent
e9c0192493
commit
851f40c9fe
1 changed files with 0 additions and 8 deletions
|
@ -62,7 +62,6 @@ export const WatchListPage = () => {
|
|||
pageIndex: 0,
|
||||
pageSize: PAGINATION.initialPageSize,
|
||||
});
|
||||
const [query, setQuery] = useState('');
|
||||
|
||||
useEffect(() => {
|
||||
setBreadcrumbs([listBreadcrumb]);
|
||||
|
@ -447,14 +446,7 @@ export const WatchListPage = () => {
|
|||
: '',
|
||||
};
|
||||
|
||||
const handleOnChange = (search: { queryText: string }) => {
|
||||
setQuery(search.queryText);
|
||||
return true;
|
||||
};
|
||||
|
||||
const searchConfig = {
|
||||
query,
|
||||
onChange: handleOnChange,
|
||||
box: {
|
||||
incremental: true,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue