Revision 59816
Added by Argiro Kokogiannaki over 3 years ago
searchDataprovidersToDeposit.module.ts | ||
---|---|---|
9 | 9 |
|
10 | 10 |
import {DataProvidersServiceModule} from '../services/dataProvidersService.module'; |
11 | 11 |
import {SearchFormModule} from '../searchPages/searchUtils/searchForm.module'; |
12 |
// import {SearchPageModule} from '../searchPages/searchUtils/searchPage.module'; |
|
13 |
import {FreeGuard} from'../login/freeGuard.guard'; |
|
14 | 12 |
import {IsRouteEnabled} from '../error/isRouteEnabled.guard'; |
15 | 13 |
import {SearchDataProvidersModule} from "../searchPages/searchDataProviders.module"; |
16 | 14 |
import {BreadcrumbsModule} from "../utils/breadcrumbs/breadcrumbs.module"; |
... | ... | |
26 | 24 |
declarations: [ |
27 | 25 |
SearchDataprovidersToDepositComponent |
28 | 26 |
], |
29 |
providers:[FreeGuard, IsRouteEnabled],
|
|
27 |
providers:[ IsRouteEnabled], |
|
30 | 28 |
exports: [ |
31 | 29 |
SearchDataprovidersToDepositComponent |
32 | 30 |
] |
Also available in: Unified diff
[Library|Trunk]
code clean up:
-remove app.* files from library
-remove unused imports, code, files (Old search pages for results, dataproviders, map search page, etc)
-remove Freeguard from modules
-unsubscribe all subscriptions
-Services: configuration, isvocabularies, user management: unsubscribe from app component or the component that uses them (clearSubscriptions())
-Fetchers: unsubscribe from the component that uses them (clearSubscriptions())