mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
Fix copy labels and toasts for ssh key items in web and browser (#16154)
This commit is contained in:
@@ -25,9 +25,10 @@
|
||||
bitIconButton="bwi-clone"
|
||||
bitSuffix
|
||||
type="button"
|
||||
[label]="'copyPrivateKey' | i18n"
|
||||
[appCopyClick]="sshKey.privateKey"
|
||||
showToast
|
||||
[label]="'copyValue' | i18n"
|
||||
[valueLabel]="'sshPrivateKey' | i18n"
|
||||
></button>
|
||||
</bit-form-field>
|
||||
<bit-form-field>
|
||||
@@ -43,9 +44,10 @@
|
||||
bitIconButton="bwi-clone"
|
||||
bitSuffix
|
||||
type="button"
|
||||
[label]="'copyPublicKey' | i18n"
|
||||
[appCopyClick]="sshKey.publicKey"
|
||||
showToast
|
||||
[label]="'copyValue' | i18n"
|
||||
[valueLabel]="'sshPublicKey' | i18n"
|
||||
></button>
|
||||
</bit-form-field>
|
||||
<bit-form-field>
|
||||
@@ -61,9 +63,10 @@
|
||||
bitIconButton="bwi-clone"
|
||||
bitSuffix
|
||||
type="button"
|
||||
[label]="'copyFingerprint' | i18n"
|
||||
[appCopyClick]="sshKey.keyFingerprint"
|
||||
showToast
|
||||
[label]="'copyValue' | i18n"
|
||||
[valueLabel]="'sshFingerprint' | i18n"
|
||||
></button>
|
||||
</bit-form-field>
|
||||
</read-only-cipher-card>
|
||||
|
||||
Reference in New Issue
Block a user