// $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);
}