diff --git a/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx b/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx index bdcb2a7c1d..20157caab7 100644 --- a/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx +++ b/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx @@ -566,7 +566,8 @@ const RawExif: React.FC = ({ } else if ( tag && typeof tag == "object" && - "description" in tag + "description" in tag && + typeof tag.description == "string" ) { description = tag.description; }