humante / redis-browser

Web-based Redis browser that can work as standalone app or mounted Rails engine
MIT License
603 stars 67 forks source link

Tree does not expand if there is only one child key #28

Closed lucymhdavies closed 7 years ago

lucymhdavies commented 7 years ago

For example, I add a key like the following:

> set my:deep:key:name foo
OK

In Redis Browser, I only see the 'my', e.g.:

screen shot 2017-01-02 at 16 32 38

I can of course click on the full key name, and view it directly:

screen shot 2017-01-02 at 16 33 05

If I then add a second key, I see what I expect:

> set my:deep:key:name2 foo
OK
screen shot 2017-01-02 at 16 34 13

I have a good idea how to fix it, so I might have a PR soon