Merge pull request #399 from linkwarden/dev
bug fixed + improved docker image
This commit is contained in:
commit
f71acd86df
|
@ -9,7 +9,7 @@ WORKDIR /data
|
||||||
COPY ./package.json ./yarn.lock ./playwright.config.ts ./
|
COPY ./package.json ./yarn.lock ./playwright.config.ts ./
|
||||||
|
|
||||||
# Increase timeout to pass github actions arm64 build
|
# Increase timeout to pass github actions arm64 build
|
||||||
RUN yarn install --network-timeout 10000000
|
RUN --mount=type=cache,sharing=locked,target=/usr/local/share/.cache/yarn yarn install --network-timeout 10000000
|
||||||
|
|
||||||
RUN npx playwright install-deps && \
|
RUN npx playwright install-deps && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
|
|
|
@ -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