Skip to content

Commit

Permalink
fix(server): show partners archived photos on mobile timeline (#9194)
Browse files Browse the repository at this point in the history
fix(mobile): show partners archived photos on timeline
  • Loading branch information
alextran1502 committed May 7, 2024
1 parent 8ff3975 commit bbb9453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/dtos/asset-response.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bbb9453

Please sign in to comment.