Merge pull request #8849 from overleaf/revert-8844-jpa-no-pdf-download-in-editor-only-mode

Revert "[web] do not download the pdf in editor only view mode"

GitOrigin-RevId: bed7aae2df8d42e117b43ccd600edd9b2ff2e5c5
This commit is contained in:
Jakob Ackermann 2022-07-13 14:17:35 +01:00 committed by Copybot
parent 638c973ac2
commit 1787026eac

View file

@ -24,7 +24,8 @@ div.full-size(
pdf-synctex-controls()
div.full-size(
ng-if="ui.pdfLayout == 'flat' && ui.view == 'pdf'"
ng-if="ui.pdfLayout == 'flat'"
ng-show="ui.view == 'pdf'"
)
pdf-preview()