diff options
Diffstat (limited to 'webapp/components/channel_members_dropdown/channel_members_dropdown.jsx')
-rw-r--r-- | webapp/components/channel_members_dropdown/channel_members_dropdown.jsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webapp/components/channel_members_dropdown/channel_members_dropdown.jsx b/webapp/components/channel_members_dropdown/channel_members_dropdown.jsx index 86efc8367..1deabb0d3 100644 --- a/webapp/components/channel_members_dropdown/channel_members_dropdown.jsx +++ b/webapp/components/channel_members_dropdown/channel_members_dropdown.jsx @@ -189,6 +189,12 @@ export default class ChannelMembersDropdown extends React.Component { ); } + if (!makeChannelMember || !makeChannelAdmin || !removeFromChannel) { + return ( + <div/> + ); + } + return ( <div className='dropdown member-drop'> <a |