[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:
k.triantafyllou 2021-01-22 16:17:18 +00:00
parent ce1b7a2c86
commit e23421dc0f
1 changed files with 2 additions and 1 deletions

View File

@ -177,6 +177,7 @@ export class RoleUsersComponent implements OnInit, OnDestroy, OnChanges {
invite() {
this.showActive = false;
this.loadPending = true;
this.selectedUser = this.invited.value;
let details = {
link: this.link,
email: this.emailComposer(this.name, this.invited.value, this.role)
@ -197,7 +198,7 @@ export class RoleUsersComponent implements OnInit, OnDestroy, OnChanges {
timeout: 6000,
pos: 'bottom-right'
});
this.loadActive = false;
this.loadPending = false;
})
}