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
ihatemundays opened this Issue Dec 1, 2014 · 4 comments

Comments

Projects
None yet
2 participants
@ihatemundays

ihatemundays 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

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Dec 1, 2014

Contributor

Agreed. Will be part of the next release.

Contributor

ghost commented Dec 1, 2014

Agreed. Will be part of the next release.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Dec 14, 2014

Contributor

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

Contributor

ghost commented Dec 14, 2014

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

@ihatemundays

This comment has been minimized.

Show comment
Hide comment
@ihatemundays

ihatemundays 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.

ihatemundays 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

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Dec 15, 2014

Contributor

Cheers, much appreciated

Contributor

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