mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:06:56 -04:00
fix: show correct stacking info on mobile
This commit is contained in:
parent
5d6716d265
commit
fe039857d8
@ -185,7 +185,7 @@ export const mapAlbum = (entity: AlbumEntity, withAssets: boolean, auth?: AuthDt
|
||||
hasSharedLink,
|
||||
startDate,
|
||||
endDate,
|
||||
assets: (withAssets ? assets : []).map((asset) => mapAsset(asset, { auth })),
|
||||
assets: (withAssets ? assets : []).map((asset) => mapAsset(asset, { auth, withStack: true })),
|
||||
assetCount: entity.assets?.length || 0,
|
||||
isActivityEnabled: entity.isActivityEnabled,
|
||||
order: entity.order,
|
||||
|
@ -46,6 +46,7 @@ export class AlbumRepository implements IAlbumRepository {
|
||||
if (options.withAssets) {
|
||||
relations.assets = {
|
||||
exifInfo: true,
|
||||
stack: { assets: true },
|
||||
};
|
||||
|
||||
order.assets = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user