Project

General

Profile

« Previous | Next » 

Revision 50970

Filter claims by community

View differences:

displayClaims.component.ts
33 33
          this.fetchId = Session.getUserEmail();
34 34
      }else{
35 35

  
36
        this.fetchBy = params['fetchBy'];
36
        this.fetchBy = (this.fetchBy)?this.fetchBy:params['fetchBy'];
37 37
        this.fetchBy = (this.types.indexOf(this.fetchBy) != -1)? this.fetchBy:'All';
38
        this.fetchId = params['fetchId'];
38
        this.fetchId =(this.fetchId)?this.fetchId: params['fetchId'];
39 39
        this.fetchId = this.fetchId?this.fetchId:'';
40 40

  
41 41
      }

Also available in: Unified diff