1
Fork 0
mirror of https://github.com/diced/zipline.git synced 2025-04-11 23:31:17 -05:00

fix: favorite pagination num

This commit is contained in:
diced 2022-12-15 18:19:51 -08:00
parent 5c9b558ac2
commit a7291d374d
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1

View file

@ -14,7 +14,7 @@ export default function Files({ disableMediaPreview, exifEnabled, queryPage }) {
useEffect(() => {
(async () => {
const { count } = await useFetch('/api/user/paged?type=count&filter=media&favorite=true');
const { count } = await useFetch('/api/user/paged?count=true&filter=media&favorite=true');
setFavoriteNumPages(count);
})();
});