Inform about commands not found
This commit is contained in:
parent
7e080f2c99
commit
41d6099d89
9 changed files with 68 additions and 55 deletions
|
@ -34,7 +34,9 @@ export default class TabList extends PureComponent {
|
|||
/>
|
||||
));
|
||||
|
||||
if (privateChats.has(address)) {
|
||||
if (privateChats.has(address) && privateChats.get(address).size > 0) {
|
||||
tabs.push(<div className="tab-label">Private messages</div>);
|
||||
|
||||
privateChats.get(address).forEach(nick => tabs.push(
|
||||
<TabListItem
|
||||
key={address + nick}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue