Only count joined channels
This commit is contained in:
parent
71bfe92dae
commit
3e90e6c86d
5 changed files with 178 additions and 154 deletions
|
@ -97,8 +97,8 @@ export const getSortedChannels = createSelector(
|
|||
sortBy(
|
||||
Object.keys(channels).map(server => ({
|
||||
address: server,
|
||||
channels: sortBy(Object.keys(channels[server]), channel =>
|
||||
channel.toLowerCase()
|
||||
channels: sortBy(channels[server], channel =>
|
||||
channel.name.toLowerCase()
|
||||
)
|
||||
})),
|
||||
server => server.address.toLowerCase()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue