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

FIX #12072 TIME 0:10 undraggable in mail in status error and sent

parent d65080de
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<mat-chip-list id="recipients-list" #recipientsList cdkDropList <mat-chip-list id="recipients-list" #recipientsList cdkDropList
[cdkDropListConnectedTo]="['copies-list','invcopies-list']" [cdkDropListData]="recipients" [cdkDropListConnectedTo]="['copies-list','invcopies-list']" [cdkDropListData]="recipients"
(cdkDropListDropped)="drop($event)"> (cdkDropListDropped)="drop($event)">
<mat-chip cdkDrag class="recipients" *ngFor="let recipient of recipients" [selectable]="selectable" <mat-chip cdkDrag [cdkDragDisabled]="emailStatus == 'SENT' || emailStatus == 'ERROR'" class="recipients" *ngFor="let recipient of recipients" [selectable]="selectable"
[removable]="canManageMail()" (removed)="remove(recipient, 'recipients')" (click)="remove(recipient, 'recipients')" [title]="recipient.email" [removable]="canManageMail()" (removed)="remove(recipient, 'recipients')" (click)="remove(recipient, 'recipients')" [title]="recipient.email"
[class.badFormat]="recipient.badFormat"> [class.badFormat]="recipient.badFormat">
{{recipient.label}}{{recipient.label !== recipient.email ? ' (' + recipient.email + ')' : ''}} {{recipient.label}}{{recipient.label !== recipient.email ? ' (' + recipient.email + ')' : ''}}
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<mat-chip-list id="copies-list" #copiesList cdkDropList <mat-chip-list id="copies-list" #copiesList cdkDropList
[cdkDropListConnectedTo]="['recipients-list','invcopies-list']" [cdkDropListData]="copies" [cdkDropListConnectedTo]="['recipients-list','invcopies-list']" [cdkDropListData]="copies"
(cdkDropListDropped)="drop($event)"> (cdkDropListDropped)="drop($event)">
<mat-chip cdkDrag class="copy" *ngFor="let copy of copies" [selectable]="selectable" <mat-chip cdkDrag [cdkDragDisabled]="emailStatus == 'SENT' || emailStatus == 'ERROR'" class="copy" *ngFor="let copy of copies" [selectable]="selectable"
[removable]="canManageMail()" (removed)="remove(copy, 'copies')" (click)="remove(copycopy, 'recipients')" [title]="copy.email" [removable]="canManageMail()" (removed)="remove(copy, 'copies')" (click)="remove(copycopy, 'recipients')" [title]="copy.email"
[class.badFormat]="copy.badFormat"> [class.badFormat]="copy.badFormat">
{{copy.label}}{{copy.label !== copy.email ? ' (' + copy.email + ')' : ''}} {{copy.label}}{{copy.label !== copy.email ? ' (' + copy.email + ')' : ''}}
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
<mat-chip-list id="invcopies-list" #invCopiesList cdkDropList <mat-chip-list id="invcopies-list" #invCopiesList cdkDropList
[cdkDropListConnectedTo]="['recipients-list','copies-list']" [cdkDropListData]="invisibleCopies" [cdkDropListConnectedTo]="['recipients-list','copies-list']" [cdkDropListData]="invisibleCopies"
(cdkDropListDropped)="drop($event)"> (cdkDropListDropped)="drop($event)">
<mat-chip cdkDrag class="copy" *ngFor="let invCopy of invisibleCopies" [selectable]="selectable" <mat-chip cdkDrag [cdkDragDisabled]="emailStatus == 'SENT' || emailStatus == 'ERROR'" class="copy" *ngFor="let invCopy of invisibleCopies" [selectable]="selectable"
[removable]="canManageMail()" (removed)="remove(invCopy, 'invisibleCopies')" (click)="remove(invCopy, 'recipients')" [title]="invCopy.email" [removable]="canManageMail()" (removed)="remove(invCopy, 'invisibleCopies')" (click)="remove(invCopy, 'recipients')" [title]="invCopy.email"
[class.badFormat]="invCopy.badFormat"> [class.badFormat]="invCopy.badFormat">
{{invCopy.label}}{{invCopy.label !== invCopy.email ? ' (' + invCopy.email + ')' : ''}} {{invCopy.label}}{{invCopy.label !== invCopy.email ? ' (' + invCopy.email + ')' : ''}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment