From 917564c067ae36b30fdc6f390c29f27e5a74198d Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Sat, 14 Mar 2020 03:26:37 -0400 Subject: [PATCH] fix #228 --- .../floating-column/floating-column.component.html | 9 ++++++--- .../floating-column/search/search.component.html | 6 ++++-- .../floating-column/search/search.component.ts | 9 +++++---- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/src/app/components/floating-column/floating-column.component.html b/src/app/components/floating-column/floating-column.component.html index d2672e09..330e49fd 100644 --- a/src/app/components/floating-column/floating-column.component.html +++ b/src/app/components/floating-column/floating-column.component.html @@ -15,13 +15,16 @@ - + diff --git a/src/app/components/floating-column/search/search.component.html b/src/app/components/floating-column/search/search.component.html index f00a4d4f..9ee3d86f 100644 --- a/src/app/components/floating-column/search/search.component.html +++ b/src/app/components/floating-column/search/search.component.html @@ -35,8 +35,10 @@

Statuses

- +
diff --git a/src/app/components/floating-column/search/search.component.ts b/src/app/components/floating-column/search/search.component.ts index 8a4ef587..ab3ade42 100644 --- a/src/app/components/floating-column/search/search.component.ts +++ b/src/app/components/floating-column/search/search.component.ts @@ -54,15 +54,16 @@ export class SearchComponent implements OnInit { return false; } - browseAccount(account: Account): boolean { - let accountName = this.toolsService.getAccountFullHandle(account); - this.browseAccountEvent.next(accountName); + browseAccount(account: string): boolean { + if (account) { + this.browseAccountEvent.next(account); + } return false; } private lastAccountUsed: AccountInfo; private search(data: string) { - if(!data) return; + if (!data) return; this.accounts.length = 0; this.statuses.length = 0;