Revision 59816
Added by Argiro Kokogiannaki over 3 years ago
searchAll.module.ts | ||
---|---|---|
21 | 21 |
import {SearchProjectsModule} from "../searchProjects.module"; |
22 | 22 |
import {SearchOrganizationsModule} from "../searchOrganizations.module"; |
23 | 23 |
import {SearchDataProvidersModule} from "../searchDataProviders.module"; |
24 |
import {PreviousRouteRecorder} from "../../utils/piwik/previousRouteRecorder.guard"; |
|
24 | 25 |
|
25 | 26 |
@NgModule({ |
26 | 27 |
imports: [ |
... | ... | |
33 | 34 |
SearchAllComponent |
34 | 35 |
], |
35 | 36 |
providers:[ |
36 |
//FreeGuard, PreviousRouteRecorder
|
|
37 |
PreviousRouteRecorder |
|
37 | 38 |
], |
38 | 39 |
exports: [ |
39 | 40 |
SearchAllComponent |
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())