Revision 43771
Added by Konstantina Galouni over 7 years ago
claims.component.ts | ||
---|---|---|
18 | 18 |
} |
19 | 19 |
|
20 | 20 |
ngOnInit() { |
21 |
// this.sub = this.route.queryParams.subscribe(params => {
|
|
21 |
this.sub = this.route.queryParams.subscribe(params => { |
|
22 | 22 |
|
23 |
var params = []; |
|
23 |
// var params = [];
|
|
24 | 24 |
if( this.myClaims == 'true' ){ |
25 | 25 |
this.fetchBy = "User"; |
26 | 26 |
}else{ |
... | ... | |
39 | 39 |
this.inputkeyword = this.keyword; |
40 | 40 |
this.page = ( page <= 0 ) ? 1 : page; |
41 | 41 |
this.size = ( size <= 0 ) ? 10 : size; |
42 |
this.entityTypes = []//(params['types']?params['types']:[]); |
|
42 |
this.entityTypes = [];//(params['types']?params['types']:[]);
|
|
43 | 43 |
this.setTypes(params['types']); // check the appropriate checkboxes |
44 | 44 |
// this.setSortby(params['sort']); |
45 | 45 |
this.getClaims(); |
46 | 46 |
|
47 |
// });
|
|
47 |
}); |
|
48 | 48 |
// this.sub = this.route.params.subscribe(params => { |
49 | 49 |
// console.info(this.isAdmin+" "+this.myClaims+" Fetch by: "+this.fetchBy+" Fetch id: "+this.fetchId); |
50 | 50 |
// if( this.myClaims == 'true' ){ |
Also available in: Unified diff
claims.component uncomment this.sub | fill main.node.ts with contents of main.browser.ts --> solve reload problem in claims page