Revision 59816
Added by Argiro Kokogiannaki over 3 years ago
reload.module.ts | ||
---|---|---|
7 | 7 |
import{ReloadComponent} from './reload.component'; |
8 | 8 |
|
9 | 9 |
|
10 |
import {FreeGuard} from'../login/freeGuard.guard'; |
|
11 | 10 |
import {PreviousRouteRecorder} from '../utils/piwik/previousRouteRecorder.guard'; |
12 | 11 |
|
13 | 12 |
@NgModule({ |
... | ... | |
20 | 19 |
ReloadComponent |
21 | 20 |
], |
22 | 21 |
providers:[ |
23 |
FreeGuard, PreviousRouteRecorder
|
|
22 |
PreviousRouteRecorder |
|
24 | 23 |
], |
25 | 24 |
exports: [ |
26 | 25 |
ReloadComponent |
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())