Signed-off-by: Yogi_Wang <yawang@vmware.com>
This commit is contained in:
Yogi_Wang 2019-02-25 12:35:49 +08:00
parent 60aecf2a1a
commit 11d7989ee3

View File

@ -153,6 +153,8 @@ export class AddMemberComponent implements AfterViewChecked, OnInit, OnDestroy {
.addUserMember(this.projectId, {username: this.member.entity_name}, +this.member.role_id).pipe(
finalize(() => {
this.addMemberOpened = false;
this.member.role_id = null;
let changeTimer = setInterval(() => this.ref.detectChanges(), 200);
setTimeout(() => {
clearInterval(changeTimer);