mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-27 06:47:20 +00:00
Fix active tab (#10654)
This commit is contained in:
parent
91b009af79
commit
0d19f4792f
@ -85,7 +85,7 @@ class HassTabsSubpage extends LitElement {
|
|||||||
<a href=${page.path}>
|
<a href=${page.path}>
|
||||||
<ha-tab
|
<ha-tab
|
||||||
.hass=${this.hass}
|
.hass=${this.hass}
|
||||||
.active=${page === activeTab}
|
.active=${page.path === activeTab?.path}
|
||||||
.narrow=${this.narrow}
|
.narrow=${this.narrow}
|
||||||
.name=${page.translationKey
|
.name=${page.translationKey
|
||||||
? localizeFunc(page.translationKey)
|
? localizeFunc(page.translationKey)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user