Skip to content

Commit 6609136

Browse files
committed
fix(tabs): ensure tab component is loaded
ha frontend stopped loading mwc-tab-bar via whatever component so it needs to be loaded manually
1 parent 33db0c8 commit 6609136

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/tabbed-card.ts

+2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ export class TabbedCard extends LitElement {
6161

6262
private async loadCardHelpers() {
6363
this._helpers = await (window as any).loadCardHelpers();
64+
65+
if (!customElements.get("mwc-tab-bar")) this._helpers.importMoreInfoControl("weather")
6466
}
6567

6668
static async getConfigElement(): Promise<LovelaceCardEditor> {

0 commit comments

Comments
 (0)