Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

bug fixed

daniel31x1398fbb5b678e6
diff --git a/components/ModalContent/PreservedFormatsModal.tsx b/components/ModalContent/PreservedFormatsModal.tsx
index b9b51c6e..af3053c6 100644
--- a/components/ModalContent/PreservedFormatsModal.tsx
+++ b/components/ModalContent/PreservedFormatsModal.tsx
@@ -69,11 +69,13 @@ export default function PreservedFormatsModal({ onClose, activeLink }: Props) {
const isReady = () => {
return (
- collectionOwner.archiveAsScreenshot ===
- (link && link.pdf && link.pdf !== "pending") &&
- collectionOwner.archiveAsPDF ===
- (link && link.pdf && link.pdf !== "pending") &&
link &&
+ (collectionOwner.archiveAsScreenshot === true
+ ? link.pdf && link.pdf !== "pending"
+ : true) &&
+ (collectionOwner.archiveAsPDF === true
+ ? link.pdf && link.pdf !== "pending"
+ : true) &&
link.readable &&
link.readable !== "pending"
);