From e4f3bc2a477663fbf95bfee7bc295e1b6f9524b3 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Wed, 27 May 2020 10:17:34 +0200
Subject: [PATCH] Also hide the build info tag in the demo environment

So it doesn't conflict with screenshotting for the docs
---
 packages/app-shell/src/app-shell.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/app-shell/src/app-shell.js b/packages/app-shell/src/app-shell.js
index 3024f19f..16945b7c 100644
--- a/packages/app-shell/src/app-shell.js
+++ b/packages/app-shell/src/app-shell.js
@@ -659,7 +659,7 @@ export class AppShell extends ScopedElementsMixin(LitElement) {
             });
         }
 
-        const prodClassMap = classMap({hidden: buildinfo.env === 'production'});
+        const prodClassMap = classMap({hidden: buildinfo.env === 'production' || buildinfo.env === 'demo'});
 
         this.updatePageTitle();
 
-- 
GitLab