mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ACS-7429] cleanup APS1 task-list before refactorings (#9650)
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
import {
|
||||
CardViewUpdateService,
|
||||
ClickNotification,
|
||||
CommentsComponent,
|
||||
ContentLinkModel,
|
||||
FormFieldValidator,
|
||||
FormModel,
|
||||
@@ -55,22 +54,12 @@ import { PeopleProcessService } from '../../common/services/people-process.servi
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class TaskDetailsComponent implements OnInit, OnChanges, OnDestroy {
|
||||
@ViewChild('activitiComments')
|
||||
activitiComments: CommentsComponent;
|
||||
|
||||
@ViewChild('activitiChecklist')
|
||||
activitiChecklist: any;
|
||||
|
||||
@ViewChild('errorDialog')
|
||||
errorDialog: TemplateRef<any>;
|
||||
|
||||
@ViewChild('activitiTaskForm')
|
||||
@ViewChild('taskForm')
|
||||
taskFormComponent: TaskFormComponent;
|
||||
|
||||
/** Toggles debug mode. */
|
||||
@Input()
|
||||
debugMode: boolean = false;
|
||||
|
||||
/** (**required**) The id of the task whose details we are asking for. */
|
||||
@Input()
|
||||
taskId: string;
|
||||
@@ -177,9 +166,9 @@ export class TaskDetailsComponent implements OnInit, OnChanges, OnDestroy {
|
||||
taskFormName: string = null;
|
||||
taskPeople: UserProcessModel[] = [];
|
||||
noTaskDetailsTemplateComponent: TemplateRef<any>;
|
||||
showAssignee: boolean = false;
|
||||
showAttachForm: boolean = false;
|
||||
internalReadOnlyForm: boolean = false;
|
||||
showAssignee = false;
|
||||
showAttachForm = false;
|
||||
internalReadOnlyForm = false;
|
||||
errorDialogRef: MatDialogRef<TemplateRef<any>>;
|
||||
peopleSearch: Observable<UserProcessModel[]>;
|
||||
data: any;
|
||||
@@ -222,14 +211,6 @@ export class TaskDetailsComponent implements OnInit, OnChanges, OnDestroy {
|
||||
}
|
||||
}
|
||||
|
||||
isShowAttachForm(): boolean {
|
||||
return this.showAttachForm;
|
||||
}
|
||||
|
||||
isTaskActive() {
|
||||
return this.taskDetails && this.taskDetails.duration === null;
|
||||
}
|
||||
|
||||
isAssigned(): boolean {
|
||||
return !!this.taskDetails.assignee;
|
||||
}
|
||||
|
Reference in New Issue
Block a user