mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 04:06:35 +00:00
Include card error message in card error (#26184)
Pass card error message to createErrorCardElement
This commit is contained in:
parent
b207528ecf
commit
818914b837
@ -167,7 +167,7 @@ const _createErrorElement = <T extends keyof CreateElementConfigTypes>(
|
|||||||
createErrorHeadingBadgeConfig(error, config)
|
createErrorHeadingBadgeConfig(error, config)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return createErrorCardElement({ type: "error" });
|
return createErrorCardElement({ type: "error", message: error });
|
||||||
};
|
};
|
||||||
|
|
||||||
const _customCreate = <T extends keyof CreateElementConfigTypes>(
|
const _customCreate = <T extends keyof CreateElementConfigTypes>(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user