Skip to content

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

bug fix

daniel31x13504af53f1869
diff --git a/components/LinkDetails.tsx b/components/LinkDetails.tsx
index 66a55d79..a508d3b9 100644
--- a/components/LinkDetails.tsx
+++ b/components/LinkDetails.tsx
@@ -110,11 +110,11 @@ export default function LinkDetails({
const isReady = useMemo(() => {
return (
- link &&
- (collectionOwner.archiveAsScreenshot === true ? link.pdf : true) &&
- (collectionOwner.archiveAsMonolith === true ? link.monolith : true) &&
- (collectionOwner.archiveAsPDF === true ? link.pdf : true) &&
- link.readable
+ ((collectionOwner.archiveAsScreenshot === true ? link.pdf : true) &&
+ (collectionOwner.archiveAsMonolith === true ? link.monolith : true) &&
+ (collectionOwner.archiveAsPDF === true ? link.pdf : true) &&
+ link.readable) ||
+ !link.url
);
}, [link, collectionOwner]);