mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(web+server): showing assets without thumbnail (#2652)
* fix(web+server): showing assets without thumbnail * missed change
This commit is contained in:
parent
b8de668f5f
commit
cab5477656
16 changed files with 143 additions and 47 deletions
|
|
@ -29,7 +29,8 @@
|
|||
const { data: assetCountByTimebucket } = await api.assetApi.getAssetCountByTimeBucket({
|
||||
getAssetCountByTimeBucketDto: {
|
||||
timeGroup: TimeGroupEnum.Month,
|
||||
userId: user?.id
|
||||
userId: user?.id,
|
||||
withoutThumbs: true
|
||||
}
|
||||
});
|
||||
bucketInfo = assetCountByTimebucket;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue