mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-23 11:51:05 -05:00
if action buttons are shown (either the nothing selected actions or the stuff selected actions), when a checkbox is selected or deselected, count how many checkboxes are selected. If it's zero, then show the new template/folder buttons, if it's non-zero, then show the move options. Under the hood, we set the `currentState` variable, then the render fn shows that element and hides all others.