From 0d19432f1482f9fc4f99343a06aa55270ea6271c Mon Sep 17 00:00:00 2001 From: sportshead <32637656+sportshead@users.noreply.github.com> Date: Thu, 15 May 2025 20:54:41 +0100 Subject: [PATCH] fix(browser): use appCopyField instead of appCopyClick for singleCopiableLogin (#14692) Fixes #14167 Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com> --- .../item-copy-actions.component.html | 9 +++---- .../item-copy-actions.component.ts | 27 ++++++++++++------- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/apps/browser/src/vault/popup/components/vault-v2/item-copy-action/item-copy-actions.component.html b/apps/browser/src/vault/popup/components/vault-v2/item-copy-action/item-copy-actions.component.html index bb3a7b12096..576f6b7def6 100644 --- a/apps/browser/src/vault/popup/components/vault-v2/item-copy-action/item-copy-actions.component.html +++ b/apps/browser/src/vault/popup/components/vault-v2/item-copy-action/item-copy-actions.component.html @@ -40,12 +40,9 @@ type="button" bitIconButton="bwi-clone" size="small" - [appA11yTitle]=" - 'copyFieldValue' | i18n: singleCopiableLogin.key : singleCopiableLogin.value - " - [appCopyClick]="singleCopiableLogin.value" - [valueLabel]="singleCopiableLogin.key" - showToast + [appA11yTitle]="singleCopiableLogin.key" + [appCopyField]="$any(singleCopiableLogin.field)" + [cipher]="cipher" >