Merge from develop into angular-18
This commit is contained in:
commit
75b501f4fa
|
@ -249,7 +249,7 @@ export class HomeComponent implements OnInit, OnDestroy, AfterViewInit, IDeactiv
|
|||
public getStakeholders() {
|
||||
this.loading = true;
|
||||
this.status = this.errorCodes.LOADING;
|
||||
this.subscriptions.push(this._stakeholderService.getStakeholders(this.properties.monitorServiceAPIURL).subscribe(
|
||||
this.subscriptions.push(this._stakeholderService.getStakeholders().subscribe(
|
||||
stakeholders => {
|
||||
if (!stakeholders || stakeholders.length == 0) {
|
||||
this.status = this.errorCodes.NONE;
|
||||
|
|
|
@ -101,7 +101,7 @@ export class MyStakeholdersComponent {
|
|||
this.status = this.errorCodes.LOADING;
|
||||
this.subscriberErrorMessage = "";
|
||||
this.stakeholders = [];
|
||||
this.subscriptions.push(this.stakeholderService.getMyStakeholders(properties.monitorServiceAPIURL).subscribe(
|
||||
this.subscriptions.push(this.stakeholderService.getMyStakeholders().subscribe(
|
||||
stakeholders => {
|
||||
this.stakeholders = StakeholderInfo.toStakeholderInfo(stakeholders.standalone.concat(stakeholders.umbrella), this.user);
|
||||
this.sort(this.stakeholders);
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit f4b9104ae17c8d6df0371c6bf01393528c491299
|
||||
Subproject commit cd782d4a68a67dcba4d5d1bbce7ee737ad1f3871
|
|
@ -136,7 +136,7 @@ export class SearchStakeholdersComponent {
|
|||
this.totalResults = StakeholderInfo.toStakeholderInfo(this.totalResults, this.user);
|
||||
this._getResults(params);
|
||||
} else {
|
||||
this.subscriptions.push(this._stakeholderService.getStakeholders(this.properties.monitorServiceAPIURL).subscribe(
|
||||
this.subscriptions.push(this._stakeholderService.getStakeholders().subscribe(
|
||||
data => {
|
||||
this.totalResults = StakeholderInfo.toStakeholderInfo(data, this.user);
|
||||
this._getResults(params);
|
||||
|
|
Loading…
Reference in New Issue