From 8bbc442b7e2ebc37189d143b04eb86693d1de8a6 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 14 Jul 2019 13:30:50 -0700 Subject: [PATCH] Correctly check frontend version (#3365) --- src/components/ha-menu-button.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ha-menu-button.ts b/src/components/ha-menu-button.ts index 15a5887adb..ed97a569a8 100644 --- a/src/components/ha-menu-button.ts +++ b/src/components/ha-menu-button.ts @@ -72,7 +72,7 @@ class HaMenuButton extends LitElement { // on older frontends too, that don't have an always visible menu button // in the sidebar. this._alwaysVisible = - (Number((window.parent as any).frontendVersion) || 0) >= 20190710; + (Number((window.parent as any).frontendVersion) || 0) < 20190710; } protected updated(changedProps) {