Skip to content
Snippets Groups Projects
Commit f2e13cd9 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #13580 TIME 0:15 disable isMailing after open attachment

parent 61ca9c9d
No related branches found
No related tags found
No related merge requests found
...@@ -333,6 +333,11 @@ export class ProcessComponent implements OnInit { ...@@ -333,6 +333,11 @@ export class ProcessComponent implements OnInit {
this.canEditData = this.privilegeService.hasCurrentUserPrivilege('edit_resource') && this.currentResourceInformations.statusAlterable; this.canEditData = this.privilegeService.hasCurrentUserPrivilege('edit_resource') && this.currentResourceInformations.statusAlterable;
if (this.isMailing && this.isToolEnabled('attachments')) { if (this.isMailing && this.isToolEnabled('attachments')) {
this.currentTool = 'attachments'; this.currentTool = 'attachments';
// Avoid auto open if the user click one more time on tab attachments
setTimeout(() => {
this.isMailing = false;
}, 200);
} }
} else { } else {
this.http.get(`../../rest/resources/${this.currentResourceInformations.resId}/users/${this.currentUserId}/groups/${this.currentGroupId}/baskets/${this.currentBasketId}/processingData`).pipe( this.http.get(`../../rest/resources/${this.currentResourceInformations.resId}/users/${this.currentUserId}/groups/${this.currentGroupId}/baskets/${this.currentBasketId}/processingData`).pipe(
......
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