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

feat: use children in sidebar #222

Merged
merged 3 commits into from
May 11, 2019

Conversation

ittus
Copy link
Contributor

@ittus ittus commented May 10, 2019

As the discussion in #221, use children in sidebar for consistency with HeaderNav.

@egoist Please help to review it when you're available.

@@ -91,7 +91,7 @@ export default {
},
getChildren(item) {
// backward compabillity
return item.children ? item.children : item.links
return item.children || item.links
Copy link
Contributor Author

@ittus ittus May 11, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice 👍

@egoist egoist merged commit bf75dc2 into egoist:master May 11, 2019
@egoist
Copy link
Owner

egoist commented May 11, 2019

🎉 This PR is included in version 4.15.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ittus ittus deleted the feature/use-children-in-sidebar branch May 11, 2019 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants