mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-23 11:45:40 +01:00
[CP-30] Add credit card pipe (#1517)
This commit is contained in:
parent
75470dc169
commit
a81c3c95a4
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit 2e2849b4def0534f3f72b7a84c3183ab0b1589f2
|
||||
Subproject commit c757cc7ab68d3e1f63b7a00ad50a7076a3248d87
|
@ -149,8 +149,12 @@
|
||||
<div class="box-content-row box-content-row-flex" *ngIf="cipher.card.number">
|
||||
<div class="row-main">
|
||||
<span class="row-label">{{ "number" | i18n }}</span>
|
||||
<span *ngIf="!showCardNumber" class="monospaced">{{ cipher.card.maskedNumber }}</span>
|
||||
<span *ngIf="showCardNumber" class="monospaced">{{ cipher.card.number }}</span>
|
||||
<span *ngIf="!showCardNumber" class="monospaced">{{
|
||||
cipher.card.maskedNumber | creditCardNumber: cipher.card.brand
|
||||
}}</span>
|
||||
<span *ngIf="showCardNumber" class="monospaced">{{
|
||||
cipher.card.number | creditCardNumber: cipher.card.brand
|
||||
}}</span>
|
||||
</div>
|
||||
<div class="action-buttons">
|
||||
<button
|
||||
|
Loading…
Reference in New Issue
Block a user