don't open profile if already selected

This commit is contained in:
Nicolas Constant 2019-08-14 00:34:04 -04:00
parent 5858d96370
commit 560cf19903
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}