From 1787026eacd143767362dcde873d61ed0ac8859f Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Wed, 13 Jul 2022 14:17:35 +0100 Subject: [PATCH] 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 --- services/web/app/views/project/editor/editor.pug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/web/app/views/project/editor/editor.pug b/services/web/app/views/project/editor/editor.pug index f797f12a64..87beb0b2f8 100644 --- a/services/web/app/views/project/editor/editor.pug +++ b/services/web/app/views/project/editor/editor.pug @@ -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()