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

Fixed wrong name of file_link store

Andreas Pfohl474c6f376d2d
diff --git a/frontend/src/app/core/state/file-links/file-links.store.ts b/frontend/src/app/core/state/file-links/file-links.store.ts
index 38fb1eb8b6a..b1fa660116b 100644
--- a/frontend/src/app/core/state/file-links/file-links.store.ts
+++ b/frontend/src/app/core/state/file-links/file-links.store.ts
@@ -32,7 +32,7 @@ import { IFileLink } from 'core-app/core/state/file-links/file-link.model';
export interface FileLinksState extends CollectionState<IFileLink> {}
-@StoreConfig({ name: 'attachments' })
+@StoreConfig({ name: 'file_links' })
export class FileLinksStore extends EntityStore<FileLinksState> {
constructor() {
super(createInitialCollectionState());
diff --git a/frontend/src/app/core/state/projects/projects.service.ts b/frontend/src/app/core/state/projects/projects.service.ts
index ab203d71a8b..716c94641f7 100644
--- a/frontend/src/app/core/state/projects/projects.service.ts
+++ b/frontend/src/app/core/state/projects/projects.service.ts
@@ -27,10 +27,7 @@
//++
import { Injectable } from '@angular/core';
-import {
- catchError, map,
- tap,
-} from 'rxjs/operators';
+import { catchError, map, tap } from 'rxjs/operators';
import { Observable } from 'rxjs';
import { ID } from '@datorama/akita';
import { HttpClient } from '@angular/common/http';