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 display of empty array in flash messages #1377

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

andynu
Copy link
Contributor

@andynu andynu commented Jun 18, 2024

By checking for present? This code now handles nil and [] the same way.

Previously empty arrays would generate a literal "[]" alert.

Fixes issue #1372

By checking for present? This code now handles nil and [] the same way.

Previously empty arrays would generate a literal "[]" alert.

Fixes issue bensheldon#1372
@bensheldon bensheldon changed the title Handle array flash messages Fix display of empty array in flash messages Jun 18, 2024
@bensheldon bensheldon added the bug Something isn't working label Jun 18, 2024
@bensheldon bensheldon merged commit bc27202 into bensheldon:main Jun 18, 2024
15 of 21 checks passed
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
Development

Successfully merging this pull request may close these issues.

2 participants