fix(web+server): showing assets without thumbnail (#2652)

* fix(web+server): showing assets without thumbnail

* missed change
This commit is contained in:
Michel Heusschen
2023-06-04 04:41:27 +02:00
committed by GitHub
parent b8de668f5f
commit cab5477656
16 changed files with 143 additions and 47 deletions

View File

@@ -30,7 +30,10 @@
const getFavoriteCount = async () => {
try {
const { data: assets } = await api.assetApi.getAllAssets({ isFavorite: true });
const { data: assets } = await api.assetApi.getAllAssets({
isFavorite: true,
withoutThumbs: true
});
return {
favorites: assets.length