Another group collection controller sort change.
This commit is contained in:
parent
5b89095a55
commit
c45d8adbf2
@ -39,8 +39,8 @@ class GroupCollectionTimeline extends React.PureComponent {
|
|||||||
|
|
||||||
if (this.props.collectionType === 'featured' && sortByValue !== GROUP_TIMELINE_SORTING_TYPE_HOT) {
|
if (this.props.collectionType === 'featured' && sortByValue !== GROUP_TIMELINE_SORTING_TYPE_HOT) {
|
||||||
this.props.setFeaturedTop()
|
this.props.setFeaturedTop()
|
||||||
} else if (!!me && this.props.collectionType === 'member' && sortByValue !== GROUP_TIMELINE_SORTING_TYPE_HOT) {
|
} else if (!!me && this.props.collectionType === 'member' && sortByValue !== GROUP_TIMELINE_SORTING_TYPE_NEWEST) {
|
||||||
this.props.setMemberHot()
|
this.props.setMemberNewest()
|
||||||
} else {
|
} else {
|
||||||
const sortBy = getSortBy(sortByValue, sortByTopValue)
|
const sortBy = getSortBy(sortByValue, sortByTopValue)
|
||||||
this.props.onExpandGroupCollectionTimeline(collectionType, { sortBy })
|
this.props.onExpandGroupCollectionTimeline(collectionType, { sortBy })
|
||||||
|
Loading…
Reference in New Issue
Block a user