Revision 59816
Added by Argiro Kokogiannaki over 3 years ago
freeGuard.guard.ts | ||
---|---|---|
4 | 4 |
CanActivate, |
5 | 5 |
ActivatedRouteSnapshot, |
6 | 6 |
RouterStateSnapshot, |
7 |
Route, |
|
8 |
CanLoad |
|
9 | 7 |
} from '@angular/router'; |
10 | 8 |
import {Observable} from 'rxjs'; |
11 | 9 |
import {LoginErrorCodes} from './utils/guardHelper.class'; |
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())