fix: back button
This commit is contained in:
parent
3e9cce9a2e
commit
09de2e80f3
@ -11,7 +11,6 @@ import { connect } from 'react-redux';
|
|||||||
import { getStatusList } from 'mastodon/selectors';
|
import { getStatusList } from 'mastodon/selectors';
|
||||||
|
|
||||||
import { fetchDirectStatuses } from '../../actions/direct_statuses';
|
import { fetchDirectStatuses } from '../../actions/direct_statuses';
|
||||||
import { ColumnBackButton } from '../../components/column_back_button';
|
|
||||||
import StatusList from '../../components/status_list';
|
import StatusList from '../../components/status_list';
|
||||||
import Column from '../ui/components/column';
|
import Column from '../ui/components/column';
|
||||||
|
|
||||||
@ -50,8 +49,7 @@ class DirectMessages extends ImmutablePureComponent {
|
|||||||
const { intl, statusIds, hasMore, multiColumn } = this.props;
|
const { intl, statusIds, hasMore, multiColumn } = this.props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Column icon='thumb-tack' heading={intl.formatMessage(messages.heading)} ref={this.setRef}>
|
<Column bindToDocument={!multiColumn} icon='thumb-tack' heading={intl.formatMessage(messages.heading)} ref={this.setRef} alwaysShowBackButton>
|
||||||
<ColumnBackButton multiColumn={multiColumn} />
|
|
||||||
<StatusList
|
<StatusList
|
||||||
statusIds={statusIds}
|
statusIds={statusIds}
|
||||||
scrollKey='direct_messages'
|
scrollKey='direct_messages'
|
||||||
|
Loading…
Reference in New Issue
Block a user