Change my stakeholders method for notifications. Update library.

This commit is contained in:
Konstantinos Triantafyllou 2024-05-21 11:06:46 +03:00
parent 5f21a9dd6c
commit d69329ffa7
2 changed files with 4 additions and 2 deletions

View File

@ -194,7 +194,9 @@ export class AppComponent extends SidebarBaseComponent implements OnInit {
this.notificationConfiguration.availableGroups.push({value: Role.typeMember(type.value), label: type.label + ' Members'});
}
}
this.subscriptions.push(this.stakeholderService.getMyStakeholders(this.properties.monitorServiceAPIURL).subscribe(stakeholders => {
this.subscriptions.push(this.stakeholderService.getMyStakeholders(this.properties.monitorServiceAPIURL).subscribe(manageStakeholder => {
let stakeholders = manageStakeholder.standalone;
stakeholders.concat(manageStakeholder.umbrella);
stakeholders.forEach(stakeholder => {
this.notificationConfiguration.availableGroups.push({
value: Role.manager(stakeholder.type, stakeholder.alias),

@ -1 +1 @@
Subproject commit 6e96974364507f347ee4ed65307073e5ca12e476
Subproject commit 8bb2ebef3e372f0fb4b44e413a4427de1ea82799