mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ADF-842] Fixed type for taskdetails (#2009)
This commit is contained in:
+1
-1
@@ -231,7 +231,7 @@ export class ActivitiTaskDetails implements OnInit, OnChanges {
|
|||||||
this.activitiTaskList.getTasks(requestNode).subscribe(
|
this.activitiTaskList.getTasks(requestNode).subscribe(
|
||||||
(response) => {
|
(response) => {
|
||||||
if (response && response.length > 0) {
|
if (response && response.length > 0) {
|
||||||
this.taskDetails = response[0];
|
this.taskDetails = <TaskDetailsModel>response[0];
|
||||||
} else {
|
} else {
|
||||||
this.reset();
|
this.reset();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user