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

fix(sidebar): fix sidebar when you open a nested link #73

Merged
merged 1 commit into from
Sep 3, 2020

Conversation

pikax
Copy link
Member

@pikax pikax commented Aug 27, 2020

Note this will make an assumption that the first config key is the default sidebar.

Maybe we need to change to / instead of the "first" key

@kiaking
Copy link
Member

kiaking commented Sep 3, 2020

@pikax Sorry what is the problem here? What happens when we click a nested link?

@pikax
Copy link
Member Author

pikax commented Sep 3, 2020

This "fixes" the sidebar disappearing when you navigate to a child.

I'm not too happy with this fix, maybe do this somewhere else?

@kiaking
Copy link
Member

kiaking commented Sep 3, 2020

Ohhh now I see. Make total sense. Now I know why it was failing in VTU but not in Vuex and Router (because they don't have "nested" route). I think this place is fine for now 👍 Nice job!

@kiaking kiaking added the bug Something isn't working label Sep 3, 2020
@kiaking kiaking merged commit d2b6d39 into vuejs:master Sep 3, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants