Fix error-card configuration.
This commit is contained in:
parent
96ff241199
commit
b732307245
File diff suppressed because one or more lines are too long
@ -10,12 +10,12 @@ export const DOMAINS_HIDE_MORE_INFO = [
|
||||
"weblink",
|
||||
];
|
||||
|
||||
function errorElement(error, config) {
|
||||
function errorElement(error, origConfig) {
|
||||
const el = document.createElement("hui-error-card");
|
||||
el.setConfig({
|
||||
type: "error",
|
||||
error,
|
||||
config,
|
||||
origConfig,
|
||||
});
|
||||
return el;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user