[PM-11391] Replace button tag with div for TOTP timer (#11116)

This commit is contained in:
Shane Melton 2024-09-20 06:56:21 -07:00 committed by GitHub
parent 1262623fac
commit 36a9228523
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -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],