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

Fix call to deprecated groupBy operator overload

Alexander Brandon Coles21c1166e1e26
diff --git a/frontend/src/app/core/state/file-links/file-links.service.ts b/frontend/src/app/core/state/file-links/file-links.service.ts
index c2626f87c19..b046af2e3ed 100644
--- a/frontend/src/app/core/state/file-links/file-links.service.ts
+++ b/frontend/src/app/core/state/file-links/file-links.service.ts
@@ -77,7 +77,7 @@ export class FileLinksResourceService extends ResourceStoreService<IFileLink> {
switchMap((collection) => from(collection._embedded.elements)),
groupBy(
(fileLink) => fileLink._links.storage.href,
- (fileLink) => fileLink,
+ { element: (fileLink) => fileLink },
),
mergeMap((group$) => {
const seed = { storage: group$.key, fileLinks: [] as IFileLink[] };