diff options
author | Chocobozzz <me@florianbigard.com> | 2020-02-10 14:37:15 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-02-10 16:39:28 +0100 |
commit | 7811819b1a942c99a80e36eb93cc3a8b0e7fc5f2 (patch) | |
tree | ae406ce7232f51058f81591072d59d90fd388d33 /client/src/app/+accounts/accounts.component.html | |
parent | be27ef3b4682c5639039474c39ee0d234d16f482 (diff) | |
download | PeerTube-7811819b1a942c99a80e36eb93cc3a8b0e7fc5f2.tar.gz PeerTube-7811819b1a942c99a80e36eb93cc3a8b0e7fc5f2.tar.zst PeerTube-7811819b1a942c99a80e36eb93cc3a8b0e7fc5f2.zip |
Use angular 9 clipboard cdk
Diffstat (limited to 'client/src/app/+accounts/accounts.component.html')
-rw-r--r-- | client/src/app/+accounts/accounts.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+accounts/accounts.component.html b/client/src/app/+accounts/accounts.component.html index 85f7dd30c..915bee0a2 100644 --- a/client/src/app/+accounts/accounts.component.html +++ b/client/src/app/+accounts/accounts.component.html | |||
@@ -9,7 +9,7 @@ | |||
9 | <div class="actor-display-name">{{ account.displayName }}</div> | 9 | <div class="actor-display-name">{{ account.displayName }}</div> |
10 | <div class="actor-name">{{ account.nameWithHost }} | 10 | <div class="actor-name">{{ account.nameWithHost }} |
11 | 11 | ||
12 | <button ngxClipboard [cbContent]="account.nameWithHostForced" (click)="activateCopiedMessage()" | 12 | <button [cdkCopyToClipboard]="account.nameWithHostForced" (click)="activateCopiedMessage()" |
13 | class="btn btn-outline-secondary btn-sm copy-button" | 13 | class="btn btn-outline-secondary btn-sm copy-button" |
14 | > | 14 | > |
15 | <span class="glyphicon glyphicon-copy"></span> | 15 | <span class="glyphicon glyphicon-copy"></span> |