mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1088] Task Header in TaskDetails component shows Assignee but is not editable (#2176)
* added translate keyword for assignee header * changed people-search component to change the header according to filter type * changed tash-header component to make assignee clickable * imlemented people-search component to assign the task to new user * added handler for assign task to new user * added testcase for assign task to user * changed mdl textbox to angular material * changed button to md and fixed issues in testcase after changed md * changed property for people-search component * added ng-content selector to pass header text and action button text and removed property from people-search component * added no_error_schema to fix testcase issue in people component * fixed no-task-details component test case bug * added people-search component in read me
This commit is contained in:
committed by
Mario Romano
parent
ecc6aecd80
commit
5ad4fe171a
@@ -72,6 +72,7 @@
|
||||
(formCompleted)="onFormCompleted($event)"
|
||||
(formContentClicked)="onFormContentClick($event)"
|
||||
(taskCreated)="onTaskCreated($event)"
|
||||
(assignTask)="onAssignTask()"
|
||||
(taskDeleted)="onTaskDeleted($event)">
|
||||
</activiti-task-details>
|
||||
<hr>
|
||||
|
@@ -382,4 +382,9 @@ export class ActivitiDemoComponent implements AfterViewInit, OnDestroy, OnInit {
|
||||
isTaskCompleted(): boolean {
|
||||
return this.activitidetails.isCompletedTask();
|
||||
}
|
||||
|
||||
onAssignTask() {
|
||||
this.taskList.reload();
|
||||
this.currentTaskId = null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user