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 component tree item show #2052

Merged
merged 3 commits into from
Jun 22, 2022
Merged

Conversation

patricklx
Copy link
Collaborator

@patricklx patricklx commented Jun 22, 2022

parent should be parentItem
this is called e.g when inspecting components via the toggle button in the components route or when clicking inspect component in the context menu. it then expands to the selected item in the component view

parent should be parentItem
this is called e.g when inspecting components via the toggle button in the components route or when clicking inspect component in the context menu
@RobbieTheWagner
Copy link
Member

@patricklx thanks for the PR! Would it be possible to add some tests? I find it odd that this was incorrect and nothing caught it.

@RobbieTheWagner RobbieTheWagner merged commit 87e8a4c into emberjs:master Jun 22, 2022
@RobbieTheWagner
Copy link
Member

Thanks for the PR @patricklx!

@patricklx patricklx deleted the patch-15 branch June 22, 2022 14:10
patricklx added a commit to patricklx/ember-inspector that referenced this pull request Sep 19, 2022
* fix component tree item show

parent should be parentItem
this is called e.g when inspecting components via the toggle button in the components route or when clicking inspect component in the context menu

* add test for auto expanding to pinned item

* Update component-tree-test.js
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.

None yet

2 participants