diff options
author | Dessalines <tyhou13@gmx.com> | 2020-01-13 23:05:22 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-01-13 23:05:22 -0500 |
commit | 0009026bdd3224f23ad014dad5a419b13ac7c210 (patch) | |
tree | c9218477c71a663a8ccd4bc9ec4aeb260c376803 | |
parent | 1710cd340e673b39bfc9ba740656046acb9c8c9c (diff) | |
parent | eccd8260888dbd5cdc910d115586a6659ed97455 (diff) |
Merge branch 'dev' into materialized_views
-rw-r--r-- | ui/src/components/search.tsx | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/ui/src/components/search.tsx b/ui/src/components/search.tsx index 00c670d8..70219d4e 100644 --- a/ui/src/components/search.tsx +++ b/ui/src/components/search.tsx @@ -82,14 +82,7 @@ export class Search extends Component<any, SearchState> { this.handleSortChange = this.handleSortChange.bind(this); this.subscription = WebSocketService.Instance.subject - .pipe( - retryWhen(errors => - errors.pipe( - delay(3000), - take(10) - ) - ) - ) + .pipe(retryWhen(errors => errors.pipe(delay(3000), take(10)))) .subscribe( msg => this.parseMessage(msg), err => console.error(err), @@ -266,7 +259,7 @@ export class Search extends Component<any, SearchState> { {i.type_ == 'comments' && ( <CommentNodes nodes={[{ comment: i.data as Comment }]} - viewOnly + locked noIndent /> )} @@ -317,7 +310,7 @@ export class Search extends Component<any, SearchState> { return ( <div> {this.state.searchResponse.comments.map(comment => ( - <CommentNodes nodes={[{ comment: comment }]} noIndent viewOnly /> + <CommentNodes nodes={[{ comment: comment }]} locked noIndent /> ))} </div> ); |