Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PM-4146] Move Passkey Above Verification Code when Viewing an Item #6466

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions apps/browser/src/vault/popup/components/vault/view.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,18 @@ <h2 class="box-header">
</button>
</div>
</div>

<!--Passkey-->
<div class="box" *ngIf="cipher.login.fido2Keys[0]">
<div class="box-content">
<div class="box-content-row text-muted">
<span class="row-label">{{ "typePasskey" | i18n }}</span>
{{ "dateCreated" | i18n }}
{{ cipher.login.fido2Keys[0].creationDate | date : "short" }}
</div>
</div>
</div>

<div
class="box-content-row box-content-row-flex totp"
[ngClass]="{ low: totpLow }"
Expand Down Expand Up @@ -190,7 +202,6 @@ <h2 class="box-header">
</button>
</div>
</div>

<div class="box-content-row box-content-row-flex totp" *ngIf="showPremiumRequiredTotp">
<div class="row-main">
<span class="row-label">{{ "verificationCodeTotp" | i18n }}</span>
Expand All @@ -201,17 +212,6 @@ <h2 class="box-header">
</span>
</div>
</div>

<!--Passkey-->
<div class="box" *ngIf="cipher.login.fido2Keys[0]">
<div class="box-content">
<div class="box-content-row text-muted">
<span class="row-label">{{ "typePasskey" | i18n }}</span>
{{ "dateCreated" | i18n }}
{{ cipher.login.fido2Keys[0].creationDate | date : "short" }}
</div>
</div>
</div>
</div>
<!-- Card -->
<div *ngIf="cipher.card">
Expand Down