mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-10 21:34:10 -05:00
previously, it'd always show nothing-selected-buttons - however, if some items were checked (due to being selected previously, and loading with a form error message), it would be showing the wrong buttons. Now, if the state is unknown, work out which state to show by counting checkboxes, the same as when someone presses the cancel button.