Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error card not working #70

Closed
thomasloven opened this issue Nov 13, 2019 · 2 comments
Closed

Error card not working #70

thomasloven opened this issue Nov 13, 2019 · 2 comments

Comments

@thomasloven
Copy link
Contributor

Hi.
hui-error-card has become more picky about it's interface, so errors aren't displaying correctly...

The variable config needs to be renamed origConfig here:
https://github.com/custom-cards/vertical-stack-in-card/blob/master/vertical-stack-in-card.js#L35-L39

@MimbaMonkeyHouse
Copy link

Trying to use this card and struggling. Do you mean like this:

        const _createError = (error, config) => {
            return _createThing("hui-error-card", {
                type: "error",
                error,
                origConfig,

@thomasloven
Copy link
Contributor Author

Both places

        const _createError = (error, origConfig) => {
            return _createThing("hui-error-card", {
                type: "error",
                error,
                origConfig,
            });
        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants