diff --git a/.github/workflows/acceptance.yml b/.github/workflows/acceptance.yml index 1ce933a..0022589 100644 --- a/.github/workflows/acceptance.yml +++ b/.github/workflows/acceptance.yml @@ -38,14 +38,14 @@ jobs: wait-on: 'npx wait-on --httpTimeout 20000 http-get://localhost:55001/plone http://localhost:3000' # Upload Cypress screenshots - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: cypress-screenshots-acceptance path: acceptance/cypress/screenshots # Upload Cypress videos - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: cypress-videos-acceptance diff --git a/news/29.bugfix b/news/29.bugfix new file mode 100644 index 0000000..0db773c --- /dev/null +++ b/news/29.bugfix @@ -0,0 +1 @@ +Use the original image if the preview scale is not available. @davisagli diff --git a/src/components/View.jsx b/src/components/View.jsx index 10e5d0c..5a3ca54 100644 --- a/src/components/View.jsx +++ b/src/components/View.jsx @@ -28,7 +28,8 @@ const View = (props) => {