Skip to content
Snippets Groups Projects
Commit 093bbf20 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FEAT #14949 TIME 0:01 add parentheses to the condition

parent 04492da1
No related branches found
No related tags found
No related merge requests found
......@@ -268,9 +268,9 @@
</span>
<i *ngIf="loadingSign" class="fa fa-spinner fa-pulse fa-2x fa-fw"></i>
</span>
<span *ngIf="signatureBook.attachments[rightSelectedThumbnail].status == 'SIGN' && signatureBook.attachments[rightSelectedThumbnail].idTypist === this.userId; else elseBlock"
<span *ngIf="(signatureBook.attachments[rightSelectedThumbnail].idTypist == this.userId) && (signatureBook.attachments[rightSelectedThumbnail].status === 'SIGN'); else elseBlock"
(click)="unsignFile(signatureBook.attachments[rightSelectedThumbnail])"
style="cursor: pointer;color: green;">
style="cursor: pointer;color: green;">
<i title="{{'lang.unsign' | translate}}" class="fa fa-check fa-2x" aria-hidden="true"></i>
</span>
<ng-template #elseBlock>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment