mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-17 06:16:33 +00:00
Fix creating card (#4947)
This commit is contained in:
parent
01eae3876b
commit
22d8ce0fd9
@ -191,7 +191,7 @@ export const getLovelaceElementClass = async <
|
||||
const tag = `hui-${type}-${tagSuffix}`;
|
||||
const cls = customElements.get(tag);
|
||||
|
||||
if (alwaysLoadTypes && type in alwaysLoadTypes) {
|
||||
if (alwaysLoadTypes && alwaysLoadTypes.has(type)) {
|
||||
return cls;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user