mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-1149] 'Remove' involved people of a task button is displayed behind the dialog (#2130)
* Removed mdl dialogs for comments and people * Removed list-column CSS class from activiti-demo component to show tasks/process list and details in the same row on low resolution screens
This commit is contained in:
committed by
Eugenio Romano
parent
64389a5577
commit
896149acd8
@@ -43,9 +43,6 @@ export class ProcessInstanceDetailsComponent implements OnChanges {
|
||||
@ViewChild(ProcessInstanceTasksComponent)
|
||||
tasksList: ProcessInstanceTasksComponent;
|
||||
|
||||
@ViewChild('dialogComments')
|
||||
commentsDialog: any;
|
||||
|
||||
@Input()
|
||||
showTitle: boolean = true;
|
||||
|
||||
@@ -109,19 +106,6 @@ export class ProcessInstanceDetailsComponent implements OnChanges {
|
||||
}
|
||||
}
|
||||
|
||||
public showCommentsDialog(): void {
|
||||
if (!this.commentsDialog.nativeElement.showModal) {
|
||||
dialogPolyfill.registerDialog(this.commentsDialog.nativeElement);
|
||||
}
|
||||
this.commentsDialog.nativeElement.showModal();
|
||||
}
|
||||
|
||||
public closeCommentsDialog(): void {
|
||||
if (this.commentsDialog) {
|
||||
this.commentsDialog.nativeElement.close();
|
||||
}
|
||||
}
|
||||
|
||||
isRunning(): boolean {
|
||||
return this.processInstanceDetails && !this.processInstanceDetails.ended;
|
||||
}
|
||||
|
Reference in New Issue
Block a user