tslint arrow-parens rule (#4003)

This commit is contained in:
Eugenio Romano
2018-11-23 01:06:56 +00:00
committed by GitHub
parent 51bb6a420f
commit 34a30c0f14
194 changed files with 725 additions and 723 deletions

View File

@@ -113,7 +113,7 @@ export class ProcessAttachmentListComponent implements OnChanges, AfterContentIn
this.isLoading = true;
this.activitiContentService.getProcessRelatedContent(processInstanceId).subscribe(
(res: any) => {
res.data.forEach(content => {
res.data.forEach((content) => {
this.attachments.push({
id: content.id,
name: content.name,
@@ -136,7 +136,7 @@ export class ProcessAttachmentListComponent implements OnChanges, AfterContentIn
if (contentId) {
this.activitiContentService.deleteRelatedContent(contentId).subscribe(
(res: any) => {
this.attachments = this.attachments.filter(content => {
this.attachments = this.attachments.filter((content) => {
return content.id !== contentId;
});
},