mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
clean all the events that start wit on prefix (#2536)
This commit is contained in:
committed by
Maurizio Vitale
parent
b2414781d4
commit
ded3847762
@@ -56,10 +56,10 @@ export class ProcessInstanceListComponent implements OnChanges, AfterContentInit
|
||||
rowClick: EventEmitter<string> = new EventEmitter<string>();
|
||||
|
||||
@Output()
|
||||
onSuccess: EventEmitter<ProcessInstance[]> = new EventEmitter<ProcessInstance[]>();
|
||||
success: EventEmitter<ProcessInstance[]> = new EventEmitter<ProcessInstance[]>();
|
||||
|
||||
@Output()
|
||||
onError: EventEmitter<any> = new EventEmitter<any>();
|
||||
error: EventEmitter<any> = new EventEmitter<any>();
|
||||
|
||||
currentInstanceId: string;
|
||||
isLoading: boolean = true;
|
||||
@@ -144,11 +144,11 @@ export class ProcessInstanceListComponent implements OnChanges, AfterContentInit
|
||||
let instancesRow = this.createDataRow(response);
|
||||
this.renderInstances(instancesRow);
|
||||
this.selectFirst();
|
||||
this.onSuccess.emit(response);
|
||||
this.success.emit(response);
|
||||
this.isLoading = false;
|
||||
},
|
||||
error => {
|
||||
this.onError.emit(error);
|
||||
this.error.emit(error);
|
||||
this.isLoading = false;
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user