Fix copy button in collapsed sidebar nav in CopyButton component (#23564)
* fix (#23511) * changelog
This commit is contained in:
parent
89de6267c7
commit
f694c7ffb0
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:bug
|
||||||
|
ui: Fix the copy token button in the sidebar navigation window when in a collapsed state.
|
||||||
|
```
|
|
@ -34,12 +34,13 @@
|
||||||
</LinkTo>
|
</LinkTo>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<li class="action">
|
<li class="action" id="container">
|
||||||
<CopyButton
|
<CopyButton
|
||||||
@clipboardText={{this.auth.currentToken}}
|
@clipboardText={{this.auth.currentToken}}
|
||||||
class="link"
|
class="link"
|
||||||
@buttonType="button"
|
@buttonType="button"
|
||||||
@success={{action (set-flash-message "Token copied!")}}
|
@success={{action (set-flash-message "Token copied!")}}
|
||||||
|
@container="#container"
|
||||||
>
|
>
|
||||||
Copy token
|
Copy token
|
||||||
</CopyButton>
|
</CopyButton>
|
||||||
|
|
Loading…
Reference in New Issue