Revision 59816
Added by Argiro Kokogiannaki over 3 years ago
searchDataprovidersToDeposit.component.ts | ||
---|---|---|
126 | 126 |
// this.searchPage.keywordFields = this.keywordFields; |
127 | 127 |
// var firstLoad =true; |
128 | 128 |
// |
129 |
// this.sub = this.route.queryParams.subscribe(params => { |
|
129 |
// this.subscriptions = this.route.queryParams.subscribe(params => {
|
|
130 | 130 |
// this.loadPaging = true; |
131 | 131 |
// if(params['page'] && this.searchUtils.page != params['page']) { |
132 | 132 |
// this.loadPaging = false; |
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())