Merge pull request #961 from jessopb/fixChannelSelect

fixes channelSelectDropdown
This commit is contained in:
jessopb 2019-03-15 11:44:13 -04:00 committed by GitHub
commit 373ee83c13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,9 @@ const ChannelSelectDropdown = ({ selectedChannel, handleSelection, loggedInChann
id='channel-name-select'
value={selectedChannel}
onChange={handleSelection}>
{ loggedInChannelName && (
<option value={loggedInChannelName} >{loggedInChannelName}</option>
)}
<option value={LOGIN}>Existing</option>
<option value={CREATE}>New</option>
</select>