summaryrefslogtreecommitdiffstats
path: root/webapp/components/rhs_root_post.jsx
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-11-14 21:35:34 -0300
committerHarrison Healey <harrisonmhealey@gmail.com>2016-11-14 19:35:34 -0500
commit3f19ccf1b1a6efdcc990cf8a0270ec4ffc0c6e22 (patch)
tree67951ec68fbfb3fd6ef861643bbba45dc5598f0d /webapp/components/rhs_root_post.jsx
parente39a50e4d6ba93b457141cd3ed640a9448421ba4 (diff)
downloadchat-3f19ccf1b1a6efdcc990cf8a0270ec4ffc0c6e22.tar.gz
chat-3f19ccf1b1a6efdcc990cf8a0270ec4ffc0c6e22.tar.bz2
chat-3f19ccf1b1a6efdcc990cf8a0270ec4ffc0c6e22.zip
PLT-4754 Fix RHS options menu (#4552)
Diffstat (limited to 'webapp/components/rhs_root_post.jsx')
-rw-r--r--webapp/components/rhs_root_post.jsx19
1 files changed, 2 insertions, 17 deletions
diff --git a/webapp/components/rhs_root_post.jsx b/webapp/components/rhs_root_post.jsx
index aa663bda7..0dae5976f 100644
--- a/webapp/components/rhs_root_post.jsx
+++ b/webapp/components/rhs_root_post.jsx
@@ -6,6 +6,7 @@ import PostBodyAdditionalContent from 'components/post_view/components/post_body
import PostMessageContainer from 'components/post_view/components/post_message_container.jsx';
import FileAttachmentListContainer from './file_attachment_list_container.jsx';
import ProfilePicture from 'components/profile_picture.jsx';
+import RhsDropdown from 'components/rhs_dropdown.jsx';
import ChannelStore from 'stores/channel_store.jsx';
import UserStore from 'stores/user_store.jsx';
@@ -228,23 +229,7 @@ export default class RhsRootPost extends React.Component {
var rootOptions = '';
if (dropdownContents.length > 0) {
rootOptions = (
- <div className='dropdown'>
- <a
- href='#'
- className='post__dropdown dropdown-toggle'
- type='button'
- data-toggle='dropdown'
- aria-expanded='false'
- />
- <div className='dropdown-menu__content'>
- <ul
- className='dropdown-menu'
- role='menu'
- >
- {dropdownContents}
- </ul>
- </div>
- </div>
+ <RhsDropdown dropdownContents={dropdownContents}/>
);
}