don't open profile if already selected
This commit is contained in:
parent
5858d96370
commit
560cf19903
|
@ -248,6 +248,8 @@ export class UserProfileComponent implements OnInit {
|
|||
}
|
||||
|
||||
browseAccount(accountName: string): void {
|
||||
if(accountName === this.toolsService.getAccountFullHandle(this.displayedAccount)) return;
|
||||
|
||||
this.browseAccountEvent.next(accountName);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue