Fix error-card configuration.
This commit is contained in:
1 parent
96ff241199
commit
b732307245
2 files changed
+3
-3
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user