Revision 53027
Added by Argiro Kokogiannaki over 5 years ago
search.component.ts | ||
---|---|---|
155 | 155 |
this.showOrganizations = showEntity["organization"]; |
156 | 156 |
this.showDataProviders = showEntity["datasource"]; |
157 | 157 |
this.showSoftware = showEntity["software"]; |
158 |
this.showOrps = true;//showEntity["other"];
|
|
158 |
this.showOrps = showEntity["other"]; |
|
159 | 159 |
|
160 | 160 |
this.sub = this.route.queryParams.subscribe(params => { |
161 | 161 |
|
... | ... | |
196 | 196 |
|
197 | 197 |
|
198 | 198 |
public ngOnDestroy() { |
199 |
this.sub.unsubscribe(); |
|
199 |
if(this.sub){ |
|
200 |
this.sub.unsubscribe(); |
|
201 |
} |
|
200 | 202 |
if(this.piwiksub){ |
201 | 203 |
this.piwiksub.unsubscribe(); |
202 | 204 |
} |
Also available in: Unified diff
1. displayClaims.component: bug fix in keyword search.
2. dataset.component, orp.component: spelling corrections (#3845).
3.check before unsubscribe in landing and search/find, change the cookie link in app component