BritishYouthBandAssociation / OrgAdmin

Admin site for organisations
1 stars 0 forks source link

Emailer allows you to submit with no recipients selected #215

Closed matt-fidd closed 1 year ago

matt-fidd commented 1 year ago

Describe the bug Emailer allows you to submit with no recipients selected

To Reproduce Go to bulk emailer, fill in all fields apart from recipients. Proit.

Screenshots image

rugulous commented 1 year ago

This is actually two different bugs so thanks!

If we're sending a test email, we shouldn't have to have any recipients selected - but we get this validation error

If we're sending a live email, we should have to select at least 1 recipient (frontend should validate)

rugulous commented 1 year ago

@matt-fidd took a look and the "live" email button should be disabled with no recipients - was this test emails you were trying to send?