[Monitor Dashboard | Trunk]: Fix user on send notification

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@60592 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
Konstantinos Triantafyllou 2021-03-04 17:43:01 +00:00
parent 2ac2e0aed1
commit 48c87fedf2
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ export class UsersComponent implements OnInit {
if(invitation) {
invitation.link = this.link + invitation.link;
}
let notification: Notification = NotificationUtils.invite(this.name, role, this.user.firstname + ' ' + this.user.lastname, invitation);
let notification: Notification = NotificationUtils.invite(this.name, role, 'user', invitation);
notification.entity = recipient;
notification.stakeholderType = this.type;
notification.stakeholder = this.alias;