mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
[PM-11391] Replace button tag with div for TOTP timer (#11116)
This commit is contained in:
@@ -111,15 +111,13 @@
|
|||||||
aria-readonly="true"
|
aria-readonly="true"
|
||||||
data-testid="login-totp"
|
data-testid="login-totp"
|
||||||
/>
|
/>
|
||||||
<button
|
<div
|
||||||
*ngIf="isPremium$ | async"
|
*ngIf="isPremium$ | async"
|
||||||
bitTotpCountdown
|
bitTotpCountdown
|
||||||
[cipher]="cipher"
|
[cipher]="cipher"
|
||||||
bitSuffix
|
bitSuffix
|
||||||
type="button"
|
|
||||||
(sendCopyCode)="setTotpCopyCode($event)"
|
(sendCopyCode)="setTotpCopyCode($event)"
|
||||||
class="tw-cursor-default"
|
></div>
|
||||||
></button>
|
|
||||||
<button
|
<button
|
||||||
bitIconButton="bwi-clone"
|
bitIconButton="bwi-clone"
|
||||||
bitSuffix
|
bitSuffix
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
|||||||
import { TypographyModule } from "@bitwarden/components";
|
import { TypographyModule } from "@bitwarden/components";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: "button[bitTotpCountdown]:not(button[bitButton])",
|
selector: "[bitTotpCountdown]",
|
||||||
templateUrl: "totp-countdown.component.html",
|
templateUrl: "totp-countdown.component.html",
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [CommonModule, TypographyModule],
|
imports: [CommonModule, TypographyModule],
|
||||||
|
|||||||
Reference in New Issue
Block a user