mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 15:47:13 +01:00
Added more cache checks.
This commit is contained in:
parent
ef9f8ed816
commit
83fb358355
9 changed files with 22 additions and 18 deletions
|
|
@ -7,7 +7,7 @@ import useCache from 'store/cache';
|
|||
|
||||
export function TeamsDataTable() {
|
||||
const { get } = useApi();
|
||||
const modified = useCache(state => state?.websites);
|
||||
const modified = useCache(state => state?.teams);
|
||||
const queryResult = useFilterQuery(['teams', { modified }], params => {
|
||||
return get(`/teams`, {
|
||||
...params,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue