[PM-11391] Replace button tag with div for TOTP timer (#11116)
This commit is contained in:
parent
1262623fac
commit
36a9228523
|
@ -111,15 +111,13 @@
|
|||
aria-readonly="true"
|
||||
data-testid="login-totp"
|
||||
/>
|
||||
<button
|
||||
<div
|
||||
*ngIf="isPremium$ | async"
|
||||
bitTotpCountdown
|
||||
[cipher]="cipher"
|
||||
bitSuffix
|
||||
type="button"
|
||||
(sendCopyCode)="setTotpCopyCode($event)"
|
||||
class="tw-cursor-default"
|
||||
></button>
|
||||
></div>
|
||||
<button
|
||||
bitIconButton="bwi-clone"
|
||||
bitSuffix
|
||||
|
|
|
@ -6,7 +6,7 @@ import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
|||
import { TypographyModule } from "@bitwarden/components";
|
||||
|
||||
@Component({
|
||||
selector: "button[bitTotpCountdown]:not(button[bitButton])",
|
||||
selector: "[bitTotpCountdown]",
|
||||
templateUrl: "totp-countdown.component.html",
|
||||
standalone: true,
|
||||
imports: [CommonModule, TypographyModule],
|
||||
|
|
Loading…
Reference in New Issue