Fix typo and modify channels list (#442)
This commit is contained in:
parent
fccaf2707f
commit
1366d315a3
1 changed files with 12 additions and 8 deletions
|
|
@ -78,7 +78,17 @@ const Channels = ({ activeChannelId, chatChannels, handleSwitchChannel, expanded
|
|||
channelsLoaded &&
|
||||
(channels.length === 0 || channels[0].messages_count === 0) ) {
|
||||
topNotice = <div className="chatchannels__channelslistheader">
|
||||
👋 Welcome to <b>DEV Connect</b>! You can may chat with anyone you mutually follow.
|
||||
👋 Welcome to <b>DEV Connect</b>! You may message anyone you mutually follow.
|
||||
</div>
|
||||
}
|
||||
let configFooter = ''
|
||||
if (expanded) {
|
||||
configFooter = <div className="chatchannels__config">
|
||||
<img src={ConfigImage} style={{height: "18px"}}/>
|
||||
<div className="chatchannels__configmenu">
|
||||
<a href="/settings">DEV Settings</a>
|
||||
<a href="/report-abuse">Report Abuse</a>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
return (
|
||||
|
|
@ -88,13 +98,7 @@ const Channels = ({ activeChannelId, chatChannels, handleSwitchChannel, expanded
|
|||
{channels}
|
||||
{channelsListFooter}
|
||||
</div>
|
||||
<div className="chatchannels__config">
|
||||
<img src={ConfigImage} style={{height: "18px"}}/>
|
||||
<div className="chatchannels__configmenu">
|
||||
<a href="/settings">DEV Settings</a>
|
||||
<a href="/report-abuse">Report Abuse</a>
|
||||
</div>
|
||||
</div>
|
||||
{configFooter}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue