Fix error-card configuration.

This commit is contained in:
thomas committed 2019-11-12 21:58:08 +01:00
1 parent 96ff241199
commit b732307245
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -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;
}