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

[chore] added subscribe to require attachments

Eric Schuberte3190c850b63
diff --git a/frontend/src/app/shared/components/attachments/attachments.component.ts b/frontend/src/app/shared/components/attachments/attachments.component.ts
index e34dc86cfd0..8398b25c7d7 100644
--- a/frontend/src/app/shared/components/attachments/attachments.component.ts
+++ b/frontend/src/app/shared/components/attachments/attachments.component.ts
@@ -152,7 +152,7 @@ export class OpAttachmentsComponent extends UntilDestroyedMixin implements OnIni
// ensure collection is loaded to the store
if (!isNewResource(this.resource)) {
- this.attachmentsResourceService.requireCollection(this.attachmentsSelfLink);
+ this.attachmentsResourceService.requireCollection(this.attachmentsSelfLink).subscribe();
}
const compareCreatedAtTimestamps = (a:IAttachment, b:IAttachment):number => {