1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-31 07:33:23 +00:00

toggle card code on add/edit

This commit is contained in:
Kyle Spearrin
2018-06-18 17:25:22 -04:00
parent d839dc6185
commit f14b4b89b9
3 changed files with 17 additions and 7 deletions

View File

@@ -111,8 +111,8 @@
<div class="box-content-row box-content-row-flex" *ngIf="cipher.card.code">
<div class="row-main">
<span class="row-label">{{'securityCode' | i18n}}</span>
<span [hidden]="showCardCode" >{{cipher.card.maskedCode}}</span>
<span [hidden]="!showCardCode" >{{cipher.card.code}}</span>
<span [hidden]="showCardCode" class="monospaced">{{cipher.card.maskedCode}}</span>
<span [hidden]="!showCardCode" class="monospaced">{{cipher.card.code}}</span>
</div>
<div class="action-buttons">
<a class="row-btn" href="#" appStopClick title="{{'toggleVisibility' | i18n}}"