mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-07 15:01:55 -04:00
This addresses the following issues with the JS: 1. fix string listing the alert areas so their 'remove' text isn't included 2. use `!==` instead of `>` for index comparison 3. put code for adding the label and description into separate functions Those issues are (matching the list above): 1. https://github.com/alphagov/notifications-admin/pull/3996#discussion_r699235376 2. https://github.com/alphagov/notifications-admin/pull/3996#discussion_r699220672 3. https://github.com/alphagov/notifications-admin/pull/3996#discussion_r699230038