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] bug where an extra comma is added after final object #65

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

bantic
Copy link
Contributor

@bantic bantic commented Jan 10, 2025

The PR #53 introduced a bug when it converted <EntryViewer> to be a glimmer component and didn't change the this.isLast reference to @isLast, here: https://github.com/Addepar/ember-json-viewer/pull/53/files#diff-7c6ad1a893bdd5bfc2ea6e617faccaea5a1feb2fd3321c69fd1fbcd933e05144R33

That value became permanently false-y and as a result an extraneous comma delimiter is added after a final object.
This can be seen in the deployed docs:

image

@bantic bantic force-pushed the bantic/fix-bug-final-delimiter branch from 7bebae5 to 9b8c7dd Compare January 10, 2025 12:33
@bantic bantic force-pushed the bantic/fix-bug-final-delimiter branch from d0ac10c to e1c54ee Compare January 10, 2025 15:05
@bantic bantic changed the title [draft] Fix bug where an extra comma is added after final object [fix] bug where an extra comma is added after final object Jan 10, 2025
@bantic bantic marked this pull request as ready for review January 10, 2025 15:08
@bantic bantic requested a review from a team January 10, 2025 15:08
@mixonic mixonic added this pull request to the merge queue Jan 10, 2025
Merged via the queue into master with commit fd9e28c Jan 10, 2025
16 checks passed
@mixonic mixonic deleted the bantic/fix-bug-final-delimiter branch January 10, 2025 15:19
@bantic bantic added the bug Something isn't working label Jan 14, 2025
@github-actions github-actions bot mentioned this pull request Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants