Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

There is always some data (from the image itself e.g.)

Manav Rathice4063c892a2
diff --git a/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx b/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
index d45cd7002d..9c0dc063ca 100644
--- a/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
+++ b/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
@@ -215,9 +215,7 @@ export const FileInfo: React.FC<FileInfoProps> = ({
icon={<TextSnippetOutlined />}
title={t("DETAILS")}
caption={
- typeof exif === "undefined" ? (
- <EnteSpinner size={11.33} />
- ) : exif !== null /* TODO */ ? (
+ exif ? (
<LinkButton
onClick={() => setOpenRawExif(true)}
sx={{
@@ -229,7 +227,7 @@ export const FileInfo: React.FC<FileInfoProps> = ({
{t("view_exif")}
</LinkButton>
) : (
- t("no_exif")
+ <EnteSpinner size={11.33} />
)
}
hideEditOption
@@ -523,10 +521,7 @@ const RawExif: React.FC<RawExifProps> = ({
<Stack py={3} px={1} spacing={2}>
{items.map(([key, namespace, tagName, description]) => (
<ExifItem key={key}>
- <Stack
- direction={"row"}
- gap={1}
- >
+ <Stack direction={"row"} gap={1}>
<Typography variant="small" color={"text.muted"}>
{tagName}
</Typography>