[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:
parent
2ac2e0aed1
commit
48c87fedf2
|
@ -37,7 +37,7 @@ export class UsersComponent implements OnInit {
|
||||||
if(invitation) {
|
if(invitation) {
|
||||||
invitation.link = this.link + invitation.link;
|
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.entity = recipient;
|
||||||
notification.stakeholderType = this.type;
|
notification.stakeholderType = this.type;
|
||||||
notification.stakeholder = this.alias;
|
notification.stakeholder = this.alias;
|
||||||
|
|
Loading…
Reference in New Issue