Skip to content

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

Resolve eslint issue

Kabiru Mwenja9c4640ddba21
diff --git a/frontend/src/app/core/state/attachments/attachments.service.ts b/frontend/src/app/core/state/attachments/attachments.service.ts
index fa845335353..adb4c9ac200 100644
--- a/frontend/src/app/core/state/attachments/attachments.service.ts
+++ b/frontend/src/app/core/state/attachments/attachments.service.ts
@@ -144,12 +144,12 @@ export class AttachmentsResourceService extends ResourceStoreService<IAttachment
);
}
- public static getAttachmentsSelfLink(resource: HalResource): string | null {
+ public static getAttachmentsSelfLink(resource:HalResource):string | null {
if (isNewResource(resource)) {
return null;
}
- const attachments = resource.attachments as { href?: string };
+ const attachments = resource.attachments as { href?:string };
return attachments?.href || null;
}