mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2492] Task without a form is not displayed when the assignment is preselected on APS (#3093)
* [ADF-2492] Task without a form is not displayed when assignment is preselected on APS * Fixed task without a form is not displayed when assignment is preselected on APS * * Added testcases for the recent changes
This commit is contained in:
committed by
Eugenio Romano
parent
a5055128b8
commit
c06cf28769
@@ -289,7 +289,7 @@ export class TaskDetailsComponent implements OnInit, OnChanges {
|
||||
}
|
||||
|
||||
isAssignedToMe(): boolean {
|
||||
return this.taskDetails.assignee.email === this.authService.getBpmUsername();
|
||||
return this.isAssigned() ? this.taskDetails.assignee.email === this.authService.getBpmUsername() : false;
|
||||
}
|
||||
|
||||
isCompleteButtonEnabled(): boolean {
|
||||
|
Reference in New Issue
Block a user