Updated group_lists sort values default to newest

• Updated:
- group_lists sort values default to newest
This commit is contained in:
mgabdev 2020-08-07 17:28:10 -05:00
parent 01e4874041
commit e1347347d0
1 changed files with 3 additions and 2 deletions

View File

@ -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,