Fix messages filtering by timestamp (#1781)

Co-authored-by: Naresh Kumar Reddy <naresh.kumar.reddy@dnb.no>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
This commit is contained in:
Naresh Kumar Reddy Gaddam 2022-04-04 12:07:01 +02:00 committed by GitHub
parent 4b517c83a0
commit f8b4b17ac3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -208,7 +208,14 @@ const Filters: React.FC<FiltersProps> = ({
search: `?${qs}`, search: `?${qs}`,
}); });
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps
}, [seekDirection, queryType, activeFilter]); }, [
seekDirection,
queryType,
activeFilter,
currentSeekType,
timestamp,
query,
]);
const toggleSeekDirection = (val: string) => { const toggleSeekDirection = (val: string) => {
switch (val) { switch (val) {