Skip to content

Commit

Permalink
Refactor AppEffects (#4079)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikiwanekhyland authored and VitoAlbano committed Sep 20, 2024
1 parent 3df7a8d commit 41df1f1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions projects/aca-content/src/lib/store/effects/app.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,16 @@
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import { Actions, ofType, createEffect } from '@ngrx/effects';
import { Injectable } from '@angular/core';
import { Actions, createEffect, ofType } from '@ngrx/effects';
import { inject, Injectable } from '@angular/core';
import { map } from 'rxjs/operators';
import { AppActionTypes, ReloadDocumentListAction, ResetSelectionAction } from '@alfresco/aca-shared/store';
import { DocumentListService } from '@alfresco/adf-content-services';

@Injectable()
export class AppEffects {
constructor(private actions$: Actions, private documentListService: DocumentListService) {}
actions$ = inject(Actions);
documentListService = inject(DocumentListService);

reload = createEffect(
() =>
Expand Down

0 comments on commit 41df1f1

Please sign in to comment.