mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-18 18:38:08 -05:00
Fix Copy token button when sidebar navigation is in a collapsed state due to a small window size (#23331)
* one line fix * changelog
This commit is contained in:
parent
999111e5b3
commit
1fdf56d2b1
2 changed files with 6 additions and 1 deletions
3
changelog/23331.txt
Normal file
3
changelog/23331.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
ui: Fix the copy token button in the sidebar navigation window when in a collapsed state.
|
||||
```
|
||||
|
|
@ -39,11 +39,13 @@
|
|||
</LinkTo>
|
||||
</li>
|
||||
{{/if}}
|
||||
<li class="action">
|
||||
<li class="action" id="container">
|
||||
{{! container is required in navbar collapsed state }}
|
||||
<Hds::Copy::Button
|
||||
@text="Copy token"
|
||||
@textToCopy={{this.auth.currentToken}}
|
||||
@isFullWidth={{true}}
|
||||
@container="#container"
|
||||
class="in-dropdown link is-flex-start"
|
||||
{{on "click" (fn (set-flash-message "Token copied!"))}}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue