@@ -17,6 +17,8 @@ import { filter, map, takeUntil } from "rxjs/operators";
1717import { Config } from "./config/config.model" ;
1818import { selectConfigConfig } from "./config/_ngrx/config.selectors" ;
1919import { SetViewStateAction } from "./files/_ngrx/file-facet-list/set-view-state.action" ;
20+ import { ClearReleaseReferrerAction } from "./files/_ngrx/release/clear-release-referrer.action" ;
21+ import { FetchProjectEditsRequestAction } from "./files/_ngrx/project-edits/fetch-project-edits-request.action" ;
2022import { EntityName } from "./files/shared/entity-name.model" ;
2123import { FileFacetName } from "./files/shared/file-facet-name.model" ;
2224import { QueryStringFacet } from "./files/shared/query-string-facet.model" ;
@@ -28,7 +30,6 @@ import { HealthRequestAction } from "./system/_ngrx/health/health-request.action
2830import { selectHealth , selectIndex } from "./system/_ngrx/system.selectors" ;
2931import { IndexRequestAction } from "./system/_ngrx/index/index-request.action" ;
3032import { SystemState } from "./system.state" ;
31- import { ClearReleaseReferrerAction } from "./files/_ngrx/release/clear-release-referrer.action" ;
3233
3334@Component ( {
3435 selector : "app-root" ,
@@ -125,6 +126,14 @@ export class AppComponent implements OnInit, OnDestroy {
125126 return ! ! params [ "filter" ] ;
126127 }
127128
129+ /**
130+ * Load project edits data from local JSON files.
131+ */
132+ private loadProjectEditsData ( ) : void {
133+
134+ this . store . dispatch ( new FetchProjectEditsRequestAction ( ) ) ;
135+ }
136+
128137 /**
129138 * Load release data from local JSON files.
130139 */
@@ -285,6 +294,7 @@ export class AppComponent implements OnInit, OnDestroy {
285294 this . setAppStateFromURL ( ) ;
286295 this . systemCheck ( ) ;
287296 this . loadReleaseData ( ) ;
297+ this . loadProjectEditsData ( ) ;
288298 this . initReleaseReferrerListener ( ) ;
289299
290300 this . config$ = this . store . pipe (
0 commit comments