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

Cleanup the 'site' value if it's empty #555

Merged

Conversation

martinstuecklschwaiger
Copy link
Contributor

The values extra, tags, user, and request get removed if they are empty.
This pull request does the same for the site value.

I added a screenshot to show how this affects users in the UI:
screenshot from 2018-02-21 22-16-32

Copy link
Collaborator

@stayallive stayallive left a comment

Choose a reason for hiding this comment

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

👍 thanks!

@stayallive stayallive requested a review from Jean85 February 23, 2018 09:43
@Jean85
Copy link
Contributor

Jean85 commented Feb 26, 2018

Thanks for the contribution! Can you add a small test to avoid regressing on this bug?

@martinstuecklschwaiger
Copy link
Contributor Author

@Jean85 Sure. Is that the right way?

Copy link
Contributor

@Jean85 Jean85 left a comment

Choose a reason for hiding this comment

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

Yes, this is perfect!! Great work! 👍

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.

3 participants