mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-03 07:58:59 -04:00
Use the API key pattern for showing service ID
When we show an identifier, like an ID or a key, we have a pattern which adds a ‘copy to clipboard’ button. We weren’t using this pattern for service ID. This commit also moves it under the table, so hopefully people will be less likely to confuse the service ID for an API key when scanning down the page.
This commit is contained in:
@@ -33,6 +33,8 @@
|
||||
key = $component.data('key'),
|
||||
thing = $component.data('thing');
|
||||
|
||||
console.log(thing)
|
||||
|
||||
$component
|
||||
.html(states.keyVisible(key, thing))
|
||||
.attr('aria-live', 'polite')
|
||||
|
||||
Reference in New Issue
Block a user