From 6609136744711b337f81d8ca27cb4ddd16e35d2b Mon Sep 17 00:00:00 2001 From: kinghat Date: Sat, 9 Sep 2023 01:09:11 +0000 Subject: [PATCH] fix(tabs): ensure tab component is loaded ha frontend stopped loading mwc-tab-bar via whatever component so it needs to be loaded manually --- src/tabbed-card.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tabbed-card.ts b/src/tabbed-card.ts index e9a6ce0..49b3819 100644 --- a/src/tabbed-card.ts +++ b/src/tabbed-card.ts @@ -61,6 +61,8 @@ export class TabbedCard extends LitElement { private async loadCardHelpers() { this._helpers = await (window as any).loadCardHelpers(); + + if (!customElements.get("mwc-tab-bar")) this._helpers.importMoreInfoControl("weather") } static async getConfigElement(): Promise {