summaryrefslogtreecommitdiffstats
path: root/webapp/components/suggestion/suggestion_box.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-09-08 08:48:53 -0400
committerenahum <nahumhbl@gmail.com>2016-09-08 09:48:53 -0300
commit47f92441aced1e2dd6e85fc18f27330d88e07593 (patch)
treeea27dad1f5f95f8f5b24f2398ee93d65fbc4160e /webapp/components/suggestion/suggestion_box.jsx
parent3bc0e833f75e043728c758fbfbe9194d2d19d6c8 (diff)
downloadchat-47f92441aced1e2dd6e85fc18f27330d88e07593.tar.gz
chat-47f92441aced1e2dd6e85fc18f27330d88e07593.tar.bz2
chat-47f92441aced1e2dd6e85fc18f27330d88e07593.zip
PLT-4100 Made SuggestionList dividers optional (#3990)
* Made SuggestionList dividers optional * Stopped mutating the User object in the AtMentionProvider
Diffstat (limited to 'webapp/components/suggestion/suggestion_box.jsx')
-rw-r--r--webapp/components/suggestion/suggestion_box.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/components/suggestion/suggestion_box.jsx b/webapp/components/suggestion/suggestion_box.jsx
index d4b150787..d74038ead 100644
--- a/webapp/components/suggestion/suggestion_box.jsx
+++ b/webapp/components/suggestion/suggestion_box.jsx
@@ -189,6 +189,7 @@ export default class SuggestionBox extends React.Component {
<SuggestionListComponent
suggestionId={this.suggestionId}
location={this.props.listStyle}
+ renderDividers={this.props.renderDividers}
/>
</div>
);
@@ -220,6 +221,7 @@ SuggestionBox.propTypes = {
value: React.PropTypes.string.isRequired,
providers: React.PropTypes.arrayOf(React.PropTypes.object),
listStyle: React.PropTypes.string,
+ renderDividers: React.PropTypes.bool,
// explicitly name any input event handlers we override and need to manually call
onInput: React.PropTypes.func,