mirror of
https://github.com/immich-app/immich.git
synced 2025-12-21 01:11:16 +03:00
* feat: Improve duplicate suggestion * format * feat(web): Add deduplication info popup * fix: lint * fmt --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
6 lines
185 B
TypeScript
6 lines
185 B
TypeScript
import type { AssetResponseDto } from '@immich/sdk';
|
|
|
|
export const getExifCount = (asset: AssetResponseDto) => {
|
|
return Object.values(asset.exifInfo ?? {}).filter(Boolean).length;
|
|
};
|