[WIP] Search researcher: update routing module, remove unused imports in module

This commit is contained in:
argirok 2023-10-25 17:43:42 +03:00
parent a41e994626
commit 6130bc20e3
2 changed files with 2 additions and 4 deletions

View File

@ -9,7 +9,6 @@ const routes: Routes = [
];
@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
imports: [RouterModule.forChild(routes)]
})
export class ResearcherRoutingModule { }

View File

@ -6,14 +6,13 @@ import {SearchInputModule} from "../../openaireLibrary/sharedComponents/search-i
import {MatSelectModule} from "@angular/material/select";
import {SearchOrcidServiceModule} from "../../openaireLibrary/claims/claim-utils/service/searchOrcidService.module";
import {SearchResearchResultsServiceModule} from "../../openaireLibrary/services/searchResearchResultsService.module";
import {PagingModule} from "../../openaireLibrary/utils/paging.module";
@NgModule({
declarations: [SearchResearcherComponent],
imports: [
CommonModule, SearchResearcherRoutingModule, SearchInputModule, MatSelectModule, SearchOrcidServiceModule, SearchResearchResultsServiceModule, PagingModule
CommonModule, SearchResearcherRoutingModule, SearchInputModule, MatSelectModule, SearchOrcidServiceModule, SearchResearchResultsServiceModule
]
})