Fix error-card configuration.

This commit is contained in:
Thomas Lovén 2019-11-12 21:58:08 +01:00
parent 96ff241199
commit b732307245
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -10,12 +10,12 @@ export const DOMAINS_HIDE_MORE_INFO = [
"weblink", "weblink",
]; ];
function errorElement(error, config) { function errorElement(error, origConfig) {
const el = document.createElement("hui-error-card"); const el = document.createElement("hui-error-card");
el.setConfig({ el.setConfig({
type: "error", type: "error",
error, error,
config, origConfig,
}); });
return el; return el;
} }