summaryrefslogtreecommitdiffstats
path: root/web/react/components/command_list.jsx
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-11-21 12:01:32 -0500
committerhmhealey <harrisonmhealey@gmail.com>2015-11-23 13:47:47 -0500
commit6a9ecf207906d8a55715ba8a50cb0552c273a905 (patch)
tree4c47362943d6a533ddc720a9cbb16cf88e950ccd /web/react/components/command_list.jsx
parentfd229a50234ba8a92c8d538aecf5acd1b37f9f0b (diff)
downloadchat-6a9ecf207906d8a55715ba8a50cb0552c273a905.tar.gz
chat-6a9ecf207906d8a55715ba8a50cb0552c273a905.tar.bz2
chat-6a9ecf207906d8a55715ba8a50cb0552c273a905.zip
Fixed CommandList to not sometimes include an empty row
Diffstat (limited to 'web/react/components/command_list.jsx')
-rw-r--r--web/react/components/command_list.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/command_list.jsx b/web/react/components/command_list.jsx
index ff83d0420..7fc0f79cf 100644
--- a/web/react/components/command_list.jsx
+++ b/web/react/components/command_list.jsx
@@ -81,7 +81,7 @@ export default class CommandList extends React.Component {
<div
ref='mentionlist'
className='command-box'
- style={{height: (this.state.suggestions.length * 56) + 2}}
+ style={{height: (suggestions.length * 56) + 2}}
>
{suggestions}
</div>