Skip to content

Commit

Permalink
[PM-4275] Showing hide text on send (#7656)
Browse files Browse the repository at this point in the history
* Checking type instead of send.type on send's add-edit.component

* Fix linting issues

---------

Co-authored-by: Daniel James Smith <[email protected]>
  • Loading branch information
aj-rosado and djsmith85 authored Jan 25, 2024
1 parent 34579e3 commit e1415af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/desktop/src/app/tools/send/add-edit.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ <h2 class="box-header">
></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>
Expand Down

0 comments on commit e1415af

Please sign in to comment.