Skip to content

Commit

Permalink
[DSC-1400] Fix issue with user's suggestion notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
atarix83 committed Nov 29, 2023
1 parent be89bc6 commit de56ad4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
7 changes: 2 additions & 5 deletions src/app/openaire/openaire.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ const MODULES = [
CoreModule.forRoot(),
StoreModule.forFeature('openaire', openaireReducers, storeModuleConfig as StoreConfig<OpenaireState, Action>),
EffectsModule.forFeature(openaireEffects),
TranslateModule
TranslateModule,
SearchModule
];

const COMPONENTS = [
Expand Down Expand Up @@ -86,7 +87,6 @@ const PROVIDERS = [
@NgModule({
imports: [
...MODULES,
SearchModule
],
declarations: [
...COMPONENTS,
Expand All @@ -96,9 +96,6 @@ const PROVIDERS = [
providers: [
...PROVIDERS
],
entryComponents: [
...ENTRY_COMPONENTS
],
exports: [
...COMPONENTS,
...DIRECTIVES
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export class SuggestionsNotificationComponent implements OnInit {

ngOnInit() {
this.suggestionsRD$ = this.reciterSuggestionStateService.getCurrentUserSuggestionTargets();
this.reciterSuggestionStateService.dispatchMarkUserSuggestionsAsVisitedAction();
}

/**
Expand Down
4 changes: 3 additions & 1 deletion src/app/root.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import { BreadcrumbTooltipPipe } from './breadcrumbs/breadcrumb/breadcrumb-toolt
import {
TruncateBreadcrumbItemCharactersPipe
} from './breadcrumbs/breadcrumb/truncate-breadcrumb-item-characters.pipe';
import { OpenaireModule } from './openaire/openaire.module';

const IMPORTS = [
CommonModule,
Expand All @@ -55,7 +56,8 @@ const IMPORTS = [
NgbModule,
ExploreModule,
FooterModule,
SocialModule
SocialModule,
OpenaireModule
];

const PROVIDERS = [
Expand Down

0 comments on commit de56ad4

Please sign in to comment.