mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 20:57:17 +01:00
Refactored teams components.
This commit is contained in:
parent
6253d55790
commit
8b48130d5f
18 changed files with 75 additions and 44 deletions
|
|
@ -45,7 +45,7 @@ export function DataTable({
|
|||
const noResults = Boolean(!isLoading && query && !hasData);
|
||||
|
||||
const handleSearch = query => {
|
||||
setParams({ ...params, query });
|
||||
setParams({ ...params, query, page: params.query ? page : 1 });
|
||||
};
|
||||
|
||||
const handlePageChange = page => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue