Fix hamburger unread indicator (#557)
This commit is contained in:
parent
52f5f49b86
commit
d21975b613
2 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ import Badge from 'app/components/badge';
|
|||
import {getTheme} from 'app/selectors/preferences';
|
||||
import {preventDoubleTap} from 'app/utils/tap';
|
||||
|
||||
import {getUnreads} from 'mattermost-redux/selectors/entities/channels';
|
||||
import {getUnreadsInCurrentTeam} from 'mattermost-redux/selectors/entities/channels';
|
||||
import EventEmitter from 'mattermost-redux/utils/event_emitter';
|
||||
|
||||
class ChannelDrawerButton extends PureComponent {
|
||||
|
|
@ -159,7 +159,7 @@ function mapStateToProps(state) {
|
|||
return {
|
||||
applicationInitializing: state.views.root.appInitializing,
|
||||
theme: getTheme(state),
|
||||
...getUnreads(state)
|
||||
...getUnreadsInCurrentTeam(state)
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3526,7 +3526,7 @@ makeerror@1.0.x:
|
|||
|
||||
mattermost-redux@mattermost/mattermost-redux#master:
|
||||
version "0.0.1"
|
||||
resolved "https://codeload.github.com/mattermost/mattermost-redux/tar.gz/b09177a214a90292b9b450e381f16edbdbcb7daa"
|
||||
resolved "https://codeload.github.com/mattermost/mattermost-redux/tar.gz/95a1a719b9b0b692f27ed93235751647777cbddd"
|
||||
dependencies:
|
||||
deep-equal "1.0.1"
|
||||
harmony-reflect "1.5.1"
|
||||
|
|
|
|||
Loading…
Reference in a new issue