Hide Favorite channel section when there are not favorite channels (#2439)
This commit is contained in:
parent
2ea9864e9c
commit
c0be2808fa
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ function mapStateToProps(state) {
|
|||
sidebarPrefs.grouping,
|
||||
sidebarPrefs.sorting,
|
||||
sidebarPrefs.unreads_at_top === 'true',
|
||||
sidebarPrefs.favorite_at_top === 'true',
|
||||
sidebarPrefs.favorite_at_top === 'true' && favoriteChannelIds.length,
|
||||
));
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Reference in a new issue