mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Correctly check frontend version (#3365)
This commit is contained in:
parent
7a12cbf96e
commit
8bbc442b7e
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user