Skip to content

armgit / ente

Public Imported from GitHub
0

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

More debug info

Manav Rathi5b38ef394bcb
diff --git a/web/apps/photos/src/components/FileList.tsx b/web/apps/photos/src/components/FileList.tsx
index 1452befb9c..f1ae399605 100644
--- a/web/apps/photos/src/components/FileList.tsx
+++ b/web/apps/photos/src/components/FileList.tsx
@@ -311,7 +311,15 @@ export const FileList: React.FC<FileListProps> = ({
return timeStampList;
}
// TODO(RE): Remove after audit.
- if (isDevBuild) throw new Error("Unexpected footer change");
+ if (
+ isDevBuild &&
+ (footer ||
+ publicCollectionGalleryContext.credentials ||
+ showAppDownloadBanner)
+ ) {
+ console.log({ timeStampList, footer, showAppDownloadBanner });
+ throw new Error("Unexpected footer change");
+ }
if (footer) {
return [
...timeStampList,