From 86f29a8d08710bebb39babf5c41e993976a87879 Mon Sep 17 00:00:00 2001
From: Patrizio Bekerle <patrizio@bekerle.com>
Date: Thu, 10 Jun 2021 14:58:03 +0200
Subject: [PATCH] Remove obsolete no-brand attribute from AppShell

---
 packages/app-shell/README.md        | 3 ---
 packages/app-shell/src/app-shell.js | 2 --
 2 files changed, 5 deletions(-)

diff --git a/packages/app-shell/README.md b/packages/app-shell/README.md
index 7c38fb6a..4cd72cc6 100644
--- a/packages/app-shell/README.md
+++ b/packages/app-shell/README.md
@@ -30,9 +30,6 @@ npm i @dbp-toolkit/app-shell
     - example `<dbp-app-shell matomo-site-id="456789"></dbp-app-shell>`
 - `no-welcome-page` (optional): skips the welcome page and welcome page isn't visible in menu
     - example `<dbp-app-shell no-welcome-page></dbp-app-shell>`
-- `no-brand` (optional): disables the logo in the right upper corner of the header
-  - example `<dbp-app-shell no-brand></dbp-app-shell>`
-  
 
 ### Emitted attributes
 
diff --git a/packages/app-shell/src/app-shell.js b/packages/app-shell/src/app-shell.js
index c53578be..9223afe5 100644
--- a/packages/app-shell/src/app-shell.js
+++ b/packages/app-shell/src/app-shell.js
@@ -68,7 +68,6 @@ export class AppShell extends ScopedElementsMixin(AdapterLitElement) {
 
         this._attrObserver = new MutationObserver(this.onAttributeObserved);
 
-        this.noBrand = false;
         this.auth = {};
     }
 
@@ -242,7 +241,6 @@ export class AppShell extends ScopedElementsMixin(AdapterLitElement) {
             matomoUrl: { type: String, attribute: "matomo-url" },
             matomoSiteId: { type: Number, attribute: "matomo-site-id" },
             noWelcomePage: { type: Boolean, attribute: "no-welcome-page" },
-            noBrand: { type: Boolean, attribute: "no-brand" },
             gitInfo: { type: String, attribute: "git-info" },
             buildUrl: { type: String, attribute: "build-url" },
             buildTime: { type: String, attribute: "build-time" },
-- 
GitLab