Skip to content
Snippets Groups Projects
Verified Commit 59028078 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #13049 TIME 0:10 fix close with mandatory fields

parent 2cb7d2ea
No related branches found
No related tags found
No related merge requests found
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
</li> </li>
</ul> </ul>
</div> </div>
<div *ngIf="data.resIds.length == 0 || data.resIds.length == 1" class="alert-message alert-message-danger mailList" role="alert"> <div *ngIf="data.resIds.length < 2" class="alert-message alert-message-danger mailList" role="alert">
<p>{{lang.cannotCloseThisMail}} : {{emptyMandatoryFields[0].fields}}</p> <p>{{lang.cannotCloseThisMail}} : {{emptyMandatoryFields[0].fields}}</p>
</div> </div>
</div> </div>
<ng-container *ngIf="data.resIds.length === 0 && canCloseResIds.length > 0"> <ng-container *ngIf="data.resIds.length === 0 || canCloseResIds.length > 0">
<div class="col-md-12"> <div class="col-md-12">
{{lang.makeActionOn}} {{lang.makeActionOn}}
<b *ngIf="data.resIds.length === 0" color="primary" class="highlight">{{lang.currentIndexingMail}}</b> <b *ngIf="data.resIds.length === 0" color="primary" class="highlight">{{lang.currentIndexingMail}}</b>
......
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