mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-23 07:11:36 +01:00
Merge pull request #7011 from jwangyangls/fix_6950
fix 6950 about the default option is not displayed When we click the add-member button, the default option is not displayed.
This commit is contained in:
commit
b3c4d1688d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user