Revision 59816
Added by Argiro Kokogiannaki over 3 years ago
searchResearchResults.module.ts | ||
---|---|---|
3 | 3 |
import {FormsModule} from '@angular/forms'; |
4 | 4 |
|
5 | 5 |
import {SearchResearchResultsServiceModule} from '../services/searchResearchResultsService.module'; |
6 |
import {FreeGuard} from '../login/freeGuard.guard'; |
|
7 | 6 |
import {IsRouteEnabled} from '../error/isRouteEnabled.guard'; |
8 | 7 |
import {SearchResearchResultsComponent} from "./searchResearchResults.component"; |
9 | 8 |
import {NewSearchPageModule} from "./searchUtils/newSearchPage.module"; |
... | ... | |
18 | 17 |
declarations: [ |
19 | 18 |
SearchResearchResultsComponent |
20 | 19 |
], |
21 |
providers:[FreeGuard, IsRouteEnabled],
|
|
20 |
providers:[], |
|
22 | 21 |
exports: [ |
23 | 22 |
SearchResearchResultsComponent |
24 | 23 |
] |
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())