mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Fixed CommandList to not sometimes include an empty row
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user