From bbb9453e1a5d47311779c43fc309d858864d62e5 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 6 May 2024 22:49:56 -0500 Subject: [PATCH] fix(server): show partners archived photos on mobile timeline (#9194) fix(mobile): show partners archived photos on timeline --- server/src/dtos/asset-response.dto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/dtos/asset-response.dto.ts b/server/src/dtos/asset-response.dto.ts index f6ce8271ed..0afc906c95 100644 --- a/server/src/dtos/asset-response.dto.ts +++ b/server/src/dtos/asset-response.dto.ts @@ -110,7 +110,7 @@ export function mapAsset(entity: AssetEntity, options: AssetMapOptions = {}): As localDateTime: entity.localDateTime, updatedAt: entity.updatedAt, isFavorite: options.auth?.user.id === entity.ownerId ? entity.isFavorite : false, - isArchived: options.auth?.user.id === entity.ownerId ? entity.isArchived : false, + isArchived: entity.isArchived, isTrashed: !!entity.deletedAt, duration: entity.duration ?? '0:00:00.00000', exifInfo: entity.exifInfo ? mapExif(entity.exifInfo) : undefined,