mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
add new error banner module for showing users js errors
this ensures it's reusable by other components, and easier to unit test by isolating the separate concerns note: this is not in Modules since that's designed for classes that are then bound to an element in the DOM as indicated by a data-module attribute. This will just live at the window.GOVUK level since we want there to only ever be one `.banner-dangerous` warning.
This commit is contained in:
@@ -182,6 +182,7 @@ const javascripts = () => {
|
||||
paths.src + 'javascripts/registerSecurityKey.js',
|
||||
paths.src + 'javascripts/authenticateSecurityKey.js',
|
||||
paths.src + 'javascripts/updateStatus.js',
|
||||
paths.src + 'javascripts/errorBanner.js',
|
||||
paths.src + 'javascripts/homepage.js',
|
||||
paths.src + 'javascripts/main.js',
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user