[CP-30] Use the CreditCardNumberPipe (#2527)
This commit is contained in:
parent
6bd5d579af
commit
99f6afbf5f
2
jslib
2
jslib
|
@ -1 +1 @@
|
||||||
Subproject commit 2e2849b4def0534f3f72b7a84c3183ab0b1589f2
|
Subproject commit 7e05089d73a8fae4742b564b41c34c484aefd8a1
|
|
@ -188,8 +188,12 @@
|
||||||
<div class="box-content-row box-content-row-flex" *ngIf="cipher.card.number">
|
<div class="box-content-row box-content-row-flex" *ngIf="cipher.card.number">
|
||||||
<div class="row-main">
|
<div class="row-main">
|
||||||
<span class="row-label">{{ "number" | i18n }}</span>
|
<span class="row-label">{{ "number" | i18n }}</span>
|
||||||
<span [hidden]="showCardNumber" class="monospaced">{{ cipher.card.maskedNumber }}</span>
|
<span [hidden]="showCardNumber" class="monospaced">{{
|
||||||
<span [hidden]="!showCardNumber" class="monospaced">{{ cipher.card.number }}</span>
|
cipher.card.maskedNumber | creditCardNumber: cipher.card.brand
|
||||||
|
}}</span>
|
||||||
|
<span [hidden]="!showCardNumber" class="monospaced">{{
|
||||||
|
cipher.card.number | creditCardNumber: cipher.card.brand
|
||||||
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<button
|
<button
|
||||||
|
|
Loading…
Reference in New Issue