diff --git a/components/ModalContent/PreservedFormatsModal.tsx b/components/ModalContent/PreservedFormatsModal.tsx index b9b51c6..af3053c 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" );