bug fixed
This commit is contained in:
parent
0c2c837028
commit
98fbb5b678
|
@ -69,11 +69,13 @@ export default function PreservedFormatsModal({ onClose, activeLink }: Props) {
|
||||||
|
|
||||||
const isReady = () => {
|
const isReady = () => {
|
||||||
return (
|
return (
|
||||||
collectionOwner.archiveAsScreenshot ===
|
|
||||||
(link && link.pdf && link.pdf !== "pending") &&
|
|
||||||
collectionOwner.archiveAsPDF ===
|
|
||||||
(link && link.pdf && link.pdf !== "pending") &&
|
|
||||||
link &&
|
link &&
|
||||||
|
(collectionOwner.archiveAsScreenshot === true
|
||||||
|
? link.pdf && link.pdf !== "pending"
|
||||||
|
: true) &&
|
||||||
|
(collectionOwner.archiveAsPDF === true
|
||||||
|
? link.pdf && link.pdf !== "pending"
|
||||||
|
: true) &&
|
||||||
link.readable &&
|
link.readable &&
|
||||||
link.readable !== "pending"
|
link.readable !== "pending"
|
||||||
);
|
);
|
||||||
|
|
Ŝarĝante…
Reference in New Issue