OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fix eslint problems in ng attachment components
Alexander Brandon Coles21785e953bb5
diff --git a/frontend/src/app/shared/components/attachments/attachment-list/attachment-list-item.component.ts b/frontend/src/app/shared/components/attachments/attachment-list/attachment-list-item.component.tsindex 723b82fa696..c087dcce734 100644--- a/frontend/src/app/shared/components/attachments/attachment-list/attachment-list-item.component.ts+++ b/frontend/src/app/shared/components/attachments/attachment-list/attachment-list-item.component.ts@@ -69,7 +69,7 @@ export class OpAttachmentListItemComponent extends UntilDestroyedMixin implement@Output() public removeAttachment = new EventEmitter<void>();- @ViewChild('avatar') avatar:ElementRef;+ @ViewChild('avatar') avatar:ElementRef<HTMLDivElement>;static imageFileExtensions:string[] = ['jpeg', 'jpg', 'gif', 'bmp', 'png'];diff --git a/frontend/src/app/shared/components/attachments/attachments.component.ts b/frontend/src/app/shared/components/attachments/attachments.component.tsindex 8054ee68c92..b143570f8ac 100644--- a/frontend/src/app/shared/components/attachments/attachments.component.ts+++ b/frontend/src/app/shared/components/attachments/attachments.component.ts@@ -105,7 +105,7 @@ export class OpAttachmentsComponent extends UntilDestroyedMixin implements OnIni};private get attachmentsSelfLink():string {- const attachments = this.resource.attachments as unknown&{ href:string };+ const attachments = this.resource.attachments as { href:string };return attachments.href;}