[Library | Trunk]: Role users invite fix selected user(null) on notification message.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60283 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
ce1b7a2c86
commit
e23421dc0f
|
@ -177,6 +177,7 @@ export class RoleUsersComponent implements OnInit, OnDestroy, OnChanges {
|
||||||
invite() {
|
invite() {
|
||||||
this.showActive = false;
|
this.showActive = false;
|
||||||
this.loadPending = true;
|
this.loadPending = true;
|
||||||
|
this.selectedUser = this.invited.value;
|
||||||
let details = {
|
let details = {
|
||||||
link: this.link,
|
link: this.link,
|
||||||
email: this.emailComposer(this.name, this.invited.value, this.role)
|
email: this.emailComposer(this.name, this.invited.value, this.role)
|
||||||
|
@ -197,7 +198,7 @@ export class RoleUsersComponent implements OnInit, OnDestroy, OnChanges {
|
||||||
timeout: 6000,
|
timeout: 6000,
|
||||||
pos: 'bottom-right'
|
pos: 'bottom-right'
|
||||||
});
|
});
|
||||||
this.loadActive = false;
|
this.loadPending = false;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue