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

@@ -111,7 +111,7 @@ export class TaskAttachmentListComponent implements OnChanges, AfterContentInit
this.activitiContentService.getTaskRelatedContent(taskId).subscribe(
(res: any) => {
let attachList = [];
res.data.forEach(content => {
res.data.forEach((content) => {
attachList.push({
id: content.id,
name: content.name,
@@ -135,7 +135,7 @@ export class TaskAttachmentListComponent implements OnChanges, AfterContentInit
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;
});
},