Fix the display of missing lists (#8523)

* Fix the display of missing lists

See #6786 -- this fixes part of the issue pertaining to lists that don't exist. I copied the Column being returned from the missing status logic, which works fine. Prior to this, the missing lists logic would generate a column with no back button and with a broken layout. This doesn't fix the broken display of missing accounts -- the column construction pertaining to that logic happens in multiple external functions.

* import ColumnBackButton

missed the import with the first commit
This commit is contained in:
trwnh 2018-08-31 20:36:36 -05:00 committed by Eugen Rochko
parent 50f226348f
commit 6a147f8377
1 changed files with 3 additions and 3 deletions

View File

@ -4,6 +4,7 @@ import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import StatusListContainer from '../ui/containers/status_list_container';
import Column from '../../components/column';
import ColumnBackButton from '../../components/column_back_button';
import ColumnHeader from '../../components/column_header';
import { addColumn, removeColumn, moveColumn } from '../../actions/columns';
import { FormattedMessage, defineMessages, injectIntl } from 'react-intl';
@ -129,9 +130,8 @@ export default class ListTimeline extends React.PureComponent {
} else if (list === false) {
return (
<Column>
<div className='scrollable'>
<ColumnBackButton />
<MissingIndicator />
</div>
</Column>
);
}