diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-10 17:33:32 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-10 17:33:32 +0100 |
commit | 18b11100e7d66b5e5f5a2a364423582c6b7d75a9 (patch) | |
tree | 1f71ff338c4fcec36e9b57aaf2d638cfed541159 | |
parent | 312c51b5c87e23c62d163770d550dc94df32627f (diff) |
Fix issue when settings are not defined for column type
-rw-r--r-- | app/assets/javascripts/components/features/ui/containers/status_list_container.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/ui/containers/status_list_container.jsx b/app/assets/javascripts/components/features/ui/containers/status_list_container.jsx index 7b893711c..ffb6f6e79 100644 --- a/app/assets/javascripts/components/features/ui/containers/status_list_container.jsx +++ b/app/assets/javascripts/components/features/ui/containers/status_list_container.jsx @@ -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 => { |