Skip to content

Commit

Permalink
Fix displaying the explanatory prompt under service tabs with an empt…
Browse files Browse the repository at this point in the history
…y search (keybase#19890)
  • Loading branch information
cjb authored Sep 24, 2019
1 parent 321a36d commit 5e29a37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions shared/team-building/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ class TeamBuilding extends React.PureComponent<Props, {}> {
)

_listBody = () => {
const showRecPending = !this.props.searchString && !this.props.recommendations
const showRecPending =
!this.props.searchString && !this.props.recommendations && this.props.selectedService === 'keybase'
const showLoading = !!this.props.searchString && !this.props.searchResults
if (showRecPending || showLoading) {
return (
Expand Down Expand Up @@ -504,7 +505,7 @@ class TeamBuilding extends React.PureComponent<Props, {}> {
/>
)

// Handle when team-buiding is making a new chat v.s. adding members to a team.
// Handle when team-building is making a new chat v.s. adding members to a team.
const chatHeader = props.rolePickerProps ? (
<Kb.Box2 direction="vertical" alignItems="center" style={styles.headerContainer}>
<Kb.Avatar teamname={props.teamname} size={32} style={styles.teamAvatar} />
Expand Down

0 comments on commit 5e29a37

Please sign in to comment.