@ -35,6 +35,7 @@ const mapStateToProps = state => ({
searchValue : state . getIn ( [ 'search' , 'value' ] ) ,
searchValue : state . getIn ( [ 'search' , 'value' ] ) ,
submitted : state . getIn ( [ 'search' , 'submitted' ] ) ,
submitted : state . getIn ( [ 'search' , 'submitted' ] ) ,
unreadNotifications : state . getIn ( [ 'notifications' , 'unread' ] ) ,
unreadNotifications : state . getIn ( [ 'notifications' , 'unread' ] ) ,
showNotificationsBadge : state . getIn ( [ 'local_settings' , 'notifications' , 'tab_badge' ] ) ,
} ) ;
} ) ;
// Dispatch mapping.
// Dispatch mapping.
@ -89,6 +90,7 @@ class Drawer extends React.Component {
submitted ,
submitted ,
isSearchPage ,
isSearchPage ,
unreadNotifications ,
unreadNotifications ,
showNotificationsBadge ,
} = this . props ;
} = this . props ;
const computedClass = classNames ( 'drawer' , ` mbstobon- ${ elefriend } ` ) ;
const computedClass = classNames ( 'drawer' , ` mbstobon- ${ elefriend } ` ) ;
@ -99,6 +101,7 @@ class Drawer extends React.Component {
< DrawerHeader
< DrawerHeader
columns = { columns }
columns = { columns }
unreadNotifications = { unreadNotifications }
unreadNotifications = { unreadNotifications }
showNotificationsBadge = { showNotificationsBadge }
intl = { intl }
intl = { intl }
onSettingsClick = { onOpenSettings }
onSettingsClick = { onOpenSettings }
/ >
/ >
@ -143,6 +146,7 @@ Drawer.propTypes = {
searchValue : PropTypes . string ,
searchValue : PropTypes . string ,
submitted : PropTypes . bool ,
submitted : PropTypes . bool ,
unreadNotifications : PropTypes . number ,
unreadNotifications : PropTypes . number ,
showNotificationsBadge : PropTypes . bool ,
// Dispatch props.
// Dispatch props.
onChange : PropTypes . func ,
onChange : PropTypes . func ,