Browse Source

Fix issue when settings are not defined for column type

closed-social-glitch-2
Eugen Rochko 7 years ago
parent
commit
18b11100e7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/assets/javascripts/components/features/ui/containers/status_list_container.jsx

+ 1
- 1
app/assets/javascripts/components/features/ui/containers/status_list_container.jsx View File

@ -5,7 +5,7 @@ import Immutable from 'immutable';
import { createSelector } from 'reselect';
const getStatusIds = createSelector([
(state, { type }) => state.getIn(['settings', type]),
(state, { type }) => state.getIn(['settings', type], Immutable.Map()),
(state, { type }) => state.getIn(['timelines', type, 'items'], Immutable.List()),
(state) => state.get('statuses')
], (columnSettings, statusIds, statuses) => statusIds.filter(id => {

Loading…
Cancel
Save