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

@scottmunday84 scottmunday84 commented Dec 1, 2014

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 ) {

@ghost
Copy link
Contributor

@ghost ghost commented Dec 1, 2014

Agreed. Will be part of the next release.

@ghost
Copy link
Contributor

@ghost ghost commented Dec 14, 2014

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

@scottmunday84
Copy link
Author

@scottmunday84 scottmunday84 commented Dec 15, 2014

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.

@ghost
Copy link
Contributor

@ghost ghost commented Dec 15, 2014

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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant