Skip to content

armgit / ente

Public Imported from GitHub
0

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

Hide public quick link header date suffix

Anand Baburajand6c1ff6fd8ab
diff --git a/web/apps/photos/src/pages/shared-albums.tsx b/web/apps/photos/src/pages/shared-albums.tsx
index a796025f27..4a01b44376 100644
--- a/web/apps/photos/src/pages/shared-albums.tsx
+++ b/web/apps/photos/src/pages/shared-albums.tsx
@@ -981,6 +981,10 @@ const FileListHeader: React.FC<FileListHeaderProps> = ({
);
}, [publicFiles]);
+ const isQuickLinkAlbum =
+ memoriesDateRange !== undefined &&
+ publicCollection.name === memoriesDateRange;
+
const downloadAllFiles = () =>
downloadAndSaveCollectionFiles(
publicCollection.name,
@@ -1037,7 +1041,7 @@ const FileListHeader: React.FC<FileListHeaderProps> = ({
name={publicCollection.name}
fileCount={publicFiles.length}
endIcon={
- memoriesDateRange ? (
+ !isQuickLinkAlbum && memoriesDateRange ? (
<Typography
variant="small"
sx={{ color: "text.muted", ml: "-6px" }}