Fix active tab (#10654)

This commit is contained in:
Joakim Sørensen
2021-11-18 20:21:19 +01:00
committed by GitHub
parent 91b009af79
commit 0d19f4792f

View File

@@ -85,7 +85,7 @@ class HassTabsSubpage extends LitElement {
<a href=${page.path}>
<ha-tab
.hass=${this.hass}
.active=${page === activeTab}
.active=${page.path === activeTab?.path}
.narrow=${this.narrow}
.name=${page.translationKey
? localizeFunc(page.translationKey)