Only count joined channels
This commit is contained in:
parent
71bfe92dae
commit
3e90e6c86d
5 changed files with 178 additions and 154 deletions
|
@ -4,9 +4,6 @@ import TabListItem from 'components/TabListItem';
|
|||
import connect from 'utils/connect';
|
||||
|
||||
const mapState = createStructuredSelector({
|
||||
joined: (state, { server, target }) =>
|
||||
get(state, ['channels', server, target, 'joined']),
|
||||
|
||||
error: (state, { server, target }) => {
|
||||
const messages = get(state, ['messages', server, target]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue