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

toggle card code on add/edit

This commit is contained in:
Kyle Spearrin
2018-06-18 17:29:45 -04:00
parent fda7022279
commit cd48afd415
3 changed files with 17 additions and 6 deletions

View File

@@ -100,8 +100,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}}"