logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 18b11100e7d66b5e5f5a2a364423582c6b7d75a9
parent: 312c51b5c87e23c62d163770d550dc94df32627f
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Tue, 10 Jan 2017 17:33:32 +0100

Fix issue when settings are not defined for column type

Diffstat:

Mapp/assets/javascripts/components/features/ui/containers/status_list_container.jsx2+-
1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ -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 => {