Follow up commit
This commit is contained in:
parent
0da51e2356
commit
fd3885d404
|
@ -120,12 +120,12 @@ export class SearchStakeholdersComponent {
|
|||
if(this.totalResults) {
|
||||
this._getResults(params);
|
||||
} else {
|
||||
this.totalResults = [];
|
||||
this.subscriptions.push(this._stakeholderService.getStakeholders(this.properties.monitorServiceAPIURL).subscribe(
|
||||
data => {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
this.totalResults = [];
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
this.totalResults[i] = data[i];
|
||||
this.totalResults[i].isManager = this.isManager(data[i]);
|
||||
|
|
Loading…
Reference in New Issue