Updated group_lists sort values default to newest
• Updated: - group_lists sort values default to newest
This commit is contained in:
parent
01e4874041
commit
e1347347d0
@ -9,14 +9,15 @@ import {
|
|||||||
} from '../actions/groups'
|
} from '../actions/groups'
|
||||||
import {
|
import {
|
||||||
GROUP_TIMELINE_SORTING_TYPE_TOP,
|
GROUP_TIMELINE_SORTING_TYPE_TOP,
|
||||||
|
GROUP_TIMELINE_SORTING_TYPE_NEWEST,
|
||||||
GROUP_TIMELINE_SORTING_TYPE_TOP_OPTION_TODAY,
|
GROUP_TIMELINE_SORTING_TYPE_TOP_OPTION_TODAY,
|
||||||
} from '../constants'
|
} from '../constants'
|
||||||
|
|
||||||
const tabs = ['new', 'featured', 'member', 'admin']
|
const tabs = ['new', 'featured', 'member', 'admin']
|
||||||
|
|
||||||
const initialState = ImmutableMap({
|
const initialState = ImmutableMap({
|
||||||
sortByValue: GROUP_TIMELINE_SORTING_TYPE_TOP,
|
sortByValue: GROUP_TIMELINE_SORTING_TYPE_NEWEST,
|
||||||
sortByTopValue: GROUP_TIMELINE_SORTING_TYPE_TOP_OPTION_TODAY,
|
sortByTopValue: '',
|
||||||
new: ImmutableMap({
|
new: ImmutableMap({
|
||||||
isFetched: false,
|
isFetched: false,
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user