diff --git a/.env.sample b/.env.sample index c3174e6..270538e 100644 --- a/.env.sample +++ b/.env.sample @@ -16,6 +16,7 @@ NEXT_PUBLIC_CREDENTIALS_ENABLED= DISABLE_NEW_SSO_USERS= RE_ARCHIVE_LIMIT= NEXT_PUBLIC_MAX_FILE_SIZE= +MAX_LINKS_PER_USER= # AWS S3 Settings SPACES_KEY= diff --git a/components/CollectionCard.tsx b/components/CollectionCard.tsx index f3615e2..d4c2571 100644 --- a/components/CollectionCard.tsx +++ b/components/CollectionCard.tsx @@ -35,6 +35,8 @@ export default function CollectionCard({ collection, className }: Props) { name: "", username: "", image: "", + archiveAsScreenshot: undefined as unknown as boolean, + archiveAsPDF: undefined as unknown as boolean, }); useEffect(() => { @@ -48,6 +50,8 @@ export default function CollectionCard({ collection, className }: Props) { name: account.name, username: account.username as string, image: account.image as string, + archiveAsScreenshot: account.archiveAsScreenshot as boolean, + archiveAsPDF: account.archiveAsPDF as boolean, }); } }; @@ -70,8 +74,7 @@ export default function CollectionCard({ collection, className }: Props) { > -