Skip to content
Snippets Groups Projects
Commit 18b11100 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix issue when settings are not defined for column type

parent 312c51b5
Branches
No related tags found
No related merge requests found
......@@ -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 => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment