1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00

[PM-4275] Showing hide text on send (#7656)

* Checking type instead of send.type on send's add-edit.component

* Fix linting issues

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
aj-rosado 2024-01-25 21:34:25 +00:00 committed by GitHub
parent 34579e3831
commit e1415af407
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,14 +59,14 @@
></textarea>
</div>
</div>
<div id="fileHelp" class="box-footer" *ngIf="!editMode && send.type === sendType.File">
<div id="fileHelp" class="box-footer" *ngIf="!editMode && type === sendType.File">
{{ "sendFileDesc" | i18n }} {{ "maxFileSize" | i18n }}
</div>
<div id="textHelp" class="box-footer" *ngIf="send.type === sendType.Text">
<div id="textHelp" class="box-footer" *ngIf="type === sendType.Text">
{{ "sendTextDesc" | i18n }}
</div>
</div>
<div class="box" *ngIf="send.type === sendType.Text">
<div class="box" *ngIf="type === sendType.Text">
<div class="box-content">
<div class="box-content-row box-content-row-checkbox" appBoxRow>
<label for="hideText">{{ "textHiddenByDefault" | i18n }}</label>