Project

General

Profile

« Previous | Next » 

Revision 57789

Add check condition for adding user information on usermenuitems.

View differences:

app.component.ts
136 136
      this.userMenuItems.push(new MenuItem("", "Manage all links", "", "/claims", false, [], ["/claims"], {}));
137 137

  
138 138
    }
139
    this.userMenuItems.push(new MenuItem("", "User information", "", "/user-info", false, [], [], {}));
139
    if(this.user) {
140
      this.userMenuItems.push(new MenuItem("", "User information", "", "/user-info", false, [], [], {}));
141
    }
140 142
  }
141 143
}
142 144

  

Also available in: Unified diff