Revision 58530
Added by Argiro Kokogiannaki about 4 years ago
searchBar.component.ts | ||
---|---|---|
32 | 32 |
|
33 | 33 |
// this.activeRouteEnabled = false; |
34 | 34 |
this.route.queryParams.subscribe(params => { |
35 |
console.log("Init"); |
|
36 |
console.log(params); |
|
37 | 35 |
this.parameters = Object.assign({}, params); |
38 | 36 |
this.entityType = "all"; |
39 | 37 |
if (params["type"] && params["type"].length > 0) { |
... | ... | |
50 | 48 |
} |
51 | 49 |
} |
52 | 50 |
} |
53 |
console.log(this.entityType); |
|
54 | 51 |
if(this.getCurrentRoute() == "/search/advanced/research-outcomes" ){ |
55 | 52 |
this.enableSearchbar = false; |
56 | 53 |
}else{ |
... | ... | |
107 | 104 |
} |
108 | 105 |
|
109 | 106 |
getCurrentRoute() { |
110 |
console.log(this.router.url.split('?')[0]); |
|
111 | 107 |
return this.router.url.split('?')[0]; |
112 | 108 |
} |
113 | 109 |
entityChanged($event){ |
Also available in: Unified diff
[Library|Trunk]
Footer: options for centering contents and have dark or light background
Table View: change parameter to fv0
Searchbar, Entities Selection: clean up logs