Correctly check frontend version (#3365)

This commit is contained in:
Paulus Schoutsen
2019-07-14 13:30:50 -07:00
committed by GitHub
parent 7a12cbf96e
commit 8bbc442b7e

View File

@@ -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) {