Skip to content

If key is zero it doesn't show up in the component tree #827

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

Closed
AnwarElbo opened this issue Nov 16, 2018 · 0 comments
Closed

If key is zero it doesn't show up in the component tree #827

AnwarElbo opened this issue Nov 16, 2018 · 0 comments
Labels

Comments

@AnwarElbo
Copy link
Contributor

Version

5.0.0-beta.3

Browser and OS info

Chrome Version 70.0.3538.102, Windows 10

Steps to reproduce

Set key to 0 of a component you won't see it back in vue devtools, this occurs if you put the index of an array as the key which starts at 0. The first one is invisible after that one the 1 etc. is visible.

What is expected?

That it also shows 0 as a valid key

What is actually happening?

It doesnt show up in the component tree


Already fixed the bug I will set up a pull request :)!

AnwarElbo added a commit to AnwarElbo/vue-devtools that referenced this issue Nov 16, 2018
@Akryum Akryum added the bug label Jan 24, 2019
Akryum pushed a commit to AnwarElbo/vue-devtools that referenced this issue Jan 25, 2019
Akryum pushed a commit that referenced this issue Jan 25, 2019
* #827: Show 0 as a valid key in the component tree

* Delete spaces

* test(e2e): 0 key


Co-authored-by: Guillaume Chau <[email protected]>
simsim0709 pushed a commit to simsim0709/vue-devtools that referenced this issue May 7, 2019
…uejs#828)

* vuejs#827: Show 0 as a valid key in the component tree

* Delete spaces

* test(e2e): 0 key


Co-authored-by: Guillaume Chau <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants