mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-25 12:15:18 +01:00
Colorize hidden custom field when value visible (#2413)
This commit is contained in:
parent
6f558e5554
commit
b601ca78cd
@ -11,9 +11,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div *ngIf="field.type === fieldType.Hidden">
|
<div *ngIf="field.type === fieldType.Hidden">
|
||||||
<span *ngIf="!field.showValue" class="monospaced">{{ field.maskedValue }}</span>
|
<span *ngIf="!field.showValue" class="monospaced">{{ field.maskedValue }}</span>
|
||||||
<span *ngIf="field.showValue && !field.showCount" class="monospaced show-whitespace">{{
|
<span
|
||||||
field.value
|
*ngIf="field.showValue && !field.showCount"
|
||||||
}}</span>
|
class="monospaced show-whitespace"
|
||||||
|
[innerHTML]="field.value | colorPassword"
|
||||||
|
></span>
|
||||||
<span
|
<span
|
||||||
*ngIf="field.showValue && field.showCount"
|
*ngIf="field.showValue && field.showCount"
|
||||||
[innerHTML]="field.value | colorPasswordCount"
|
[innerHTML]="field.value | colorPasswordCount"
|
||||||
|
Loading…
Reference in New Issue
Block a user