X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=portal-FE-common%2Fsrc%2Fapp%2Flayout%2Fcomponents%2Fuserbar%2Fuserbar.component.ts;h=d3680c9cdb6c2edb51eeeac8c1b9fc6de9e85ebc;hb=3f7d8f642da3abb81749cc59a3bd7e2e28c06a52;hp=661317bf756a4ab1bb5046be848dd48393456179;hpb=91e3434fc7c515416ff2da10d55acf1d2dbcde71;p=portal.git diff --git a/portal-FE-common/src/app/layout/components/userbar/userbar.component.ts b/portal-FE-common/src/app/layout/components/userbar/userbar.component.ts index 661317bf..d3680c9c 100644 --- a/portal-FE-common/src/app/layout/components/userbar/userbar.component.ts +++ b/portal-FE-common/src/app/layout/components/userbar/userbar.component.ts @@ -82,14 +82,15 @@ export class UserbarComponent implements OnInit { // $log.error('UserbarCtrl::updateActiveUsers: failed to get active user'); this.stop(); } else { - var maxItems = 25; + var maxItems = 5; if (_res.length < maxItems) maxItems = _res.length; for (var i = 0; i < maxItems; i++) { var data = { userId: _res[i], - linkQ: this.api.linkQ, - linkPic: this.api.linkPic + linkQ: this.sanitizer.bypassSecurityTrustResourceUrl(this.api.linkQ + _res[i]), + linkPic: this.api.linkPic + _res[i], + linkPicURL:this.api.linkPic } this.userList.push(data); }