1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

PM-11427 Copy Totp Code without space (#10800)

This commit is contained in:
Jason Ng
2024-08-30 12:27:56 -04:00
committed by GitHub
parent c0fbb5ce39
commit d9ff8b0944
3 changed files with 15 additions and 7 deletions

View File

@@ -106,7 +106,7 @@
readonly
bitInput
[type]="!(isPremium$ | async) ? 'password' : 'text'"
[value]="totpCopyCode || '*** ***'"
[value]="totpCodeCopyObj?.totpCodeFormatted || '*** ***'"
aria-readonly="true"
data-testid="login-totp"
[disabled]="!(isPremium$ | async)"
@@ -124,7 +124,7 @@
bitIconButton="bwi-clone"
bitSuffix
type="button"
[appCopyClick]="totpCopyCode"
[appCopyClick]="totpCodeCopyObj?.totpCode"
[valueLabel]="'verificationCodeTotp' | i18n"
showToast
[appA11yTitle]="'copyValue' | i18n"