Skip to content

Commit

Permalink
Merge pull request #845 from geonetwork/npm-router-service
Browse files Browse the repository at this point in the history
NPM package: Allow router.config to be used in extended router services
  • Loading branch information
tkohr authored Apr 9, 2024
2 parents da2c1f8 + cc178f7 commit 1b3d989
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions libs/feature/router/src/lib/default/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export * from './router.module'
export * from './constants'
export * from './state/router.facade'
export * from './router.service'
export * from './router.config'
export * from './state/router.effects'
export * from './state/router.facade'
export * from './container/search-router.container.directive'
2 changes: 1 addition & 1 deletion libs/feature/router/src/lib/default/router.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { ROUTER_CONFIG, RouterConfigModel } from './router.config'
})
export class RouterService {
constructor(
@Inject(ROUTER_CONFIG) private routerConfig: RouterConfigModel,
@Inject(ROUTER_CONFIG) protected routerConfig: RouterConfigModel,
private router: Router
) {}

Expand Down

0 comments on commit 1b3d989

Please sign in to comment.