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

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

GitOrigin-RevId: 7ae64bddfe385040c4d44c45dadf3358f89ddbd5
This commit is contained in:
Alexandre Bourdin 2022-07-13 14:56:38 +02:00 committed by Copybot
parent 9d9630e972
commit 638c973ac2

View file

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