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

Can't accept an empty dashboard. #24

Closed
scottmunday84 opened this issue Dec 1, 2014 · 4 comments
Closed

Can't accept an empty dashboard. #24

scottmunday84 opened this issue Dec 1, 2014 · 4 comments

Comments

@scottmunday84
Copy link

Should be able to handle an empty dashboard.

Steps to Reproduce:
Build a dashboard with an empty array as content.

You are given an error: "Top level content can't contain more then one element." Fix this to:

if( config.content.length > 1 ) {

@deepstreamIO
Copy link
Contributor

Agreed. Will be part of the next release.

@deepstreamIO
Copy link
Contributor

Just released v1.0.6 which contains the fix. Thanks again for pointing this out.

@scottmunday84
Copy link
Author

Thanks. I will point out anything else I (or my work QA team) notices. It's a great library, and we're getting good use out of it.

@deepstreamIO
Copy link
Contributor

Cheers, much appreciated

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

1 participant