mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
tslint arrow-parens rule (#4003)
This commit is contained in:
@@ -224,7 +224,7 @@ export class ProcessInstanceListComponent extends DataTableSchema implements On
|
||||
totalItems: response.total
|
||||
});
|
||||
},
|
||||
error => {
|
||||
(error) => {
|
||||
this.error.emit(error);
|
||||
this.isLoading = false;
|
||||
});
|
||||
@@ -286,7 +286,7 @@ export class ProcessInstanceListComponent extends DataTableSchema implements On
|
||||
* @param instances
|
||||
*/
|
||||
private optimizeProcessDetails(instances: any[]): any[] {
|
||||
instances = instances.map(instance => {
|
||||
instances = instances.map((instance) => {
|
||||
instance.name = this.getProcessNameOrDescription(instance, 'medium');
|
||||
if (instance.started) {
|
||||
instance.started = moment(instance.started).format(this.FORMAT_DATE);
|
||||
|
Reference in New Issue
Block a user