Skip to content

Commit

Permalink
Fixes query bar issue with 16.4 gDSFP lifecycle
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonrhodes committed Jan 22, 2019
1 parent a5bfbcc commit 4893cba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/public/query_bar/components/query_bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class QueryBarUI extends Component<Props, State> {
};
}

return null;
return { currentProps: nextProps };
}

/*
Expand All @@ -132,6 +132,7 @@ export class QueryBarUI extends Component<Props, State> {
},
inputIsPristine: true,
isSuggestionsVisible: false,
currentProps: this.props,
index: null,
suggestions: [],
suggestionLimit: 50,
Expand Down

0 comments on commit 4893cba

Please sign in to comment.