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(client): Restore accessed route after page refreshing #306

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Azurewarth0920
Copy link
Collaborator

fix: #304
Save the selected state in Component/Timeline/Pinia/Router pages.

Screen.Recording.2024-04-01.at.17.31.39.mov

Copy link

netlify bot commented Apr 1, 2024

Deploy Preview for vue-devtools-docs canceled.

Name Link
🔨 Latest commit 8f54a92
🔍 Latest deploy log https://app.netlify.com/sites/vue-devtools-docs/deploys/660a82187293ec0008a8b1bf

return treeNode.some(({ id: treeNodeId }) => route.params.id === treeNodeId) && (route.params.id as string)
}

function getValidNestedNodeId(treeNode: ComponentTreeNode[]) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Dig nested tree structure.

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.

When selecting the component in devtool, the select state cannot be restored after refreshing the page
1 participant