From 21d84b5e4f809542115e005d9668e85433c4b26e Mon Sep 17 00:00:00 2001 From: Christoph Reiter <reiter.christoph@gmail.com> Date: Thu, 25 Jun 2020 12:31:18 +0200 Subject: [PATCH] Only hide the rotation button in production --- src/vpu-pdf-preview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vpu-pdf-preview.js b/src/vpu-pdf-preview.js index 64d1cfe..de8b1f7 100644 --- a/src/vpu-pdf-preview.js +++ b/src/vpu-pdf-preview.js @@ -492,7 +492,7 @@ export class PdfPreview extends ScopedElementsMixin(VPULitElement) { } render() { - const isRotationHidden = buildinfo.env === 'production' || buildinfo.env === 'demo'; + const isRotationHidden = (buildinfo.env === 'production'); return html` -- GitLab