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

Hide "All" nav item if JSON flag is set #547

Merged
merged 1 commit into from
Dec 22, 2016

Conversation

tommcc
Copy link
Contributor

@tommcc tommcc commented Oct 30, 2016

Combined with pattern-lab/styleguidekit-assets-default#53 , the existing JSON flag ishControlsHide.views-all can be respected (hiding the "All" nav item at the topmost level).

Summary of changes:

More specifically, this allows the nav template to access the hiding options set in the JSON ishControlsHide object. Previously this object was only accessible to the ish template.

@bmuenzenmeyer
Copy link
Member

Pending a discussion going on at pattern-lab/styleguidekit-assets-default#53

@bmuenzenmeyer bmuenzenmeyer merged commit a8cf436 into pattern-lab:dev Dec 22, 2016
@tommcc tommcc deleted the add-conditional-view-all branch October 30, 2017 14:25
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

Successfully merging this pull request may close these issues.

2 participants