Merge pull request #961 from jessopb/fixChannelSelect
fixes channelSelectDropdown
This commit is contained in:
commit
373ee83c13
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,9 @@ const ChannelSelectDropdown = ({ selectedChannel, handleSelection, loggedInChann
|
||||||
id='channel-name-select'
|
id='channel-name-select'
|
||||||
value={selectedChannel}
|
value={selectedChannel}
|
||||||
onChange={handleSelection}>
|
onChange={handleSelection}>
|
||||||
|
{ loggedInChannelName && (
|
||||||
|
<option value={loggedInChannelName} >{loggedInChannelName}</option>
|
||||||
|
)}
|
||||||
<option value={LOGIN}>Existing</option>
|
<option value={LOGIN}>Existing</option>
|
||||||
<option value={CREATE}>New</option>
|
<option value={CREATE}>New</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in a new issue