From c45d8adbf2b4d70dc685400392a2f79caac72c60 Mon Sep 17 00:00:00 2001 From: Fosco Marotto Date: Fri, 5 Feb 2021 00:12:51 -0500 Subject: [PATCH] Another group collection controller sort change. --- .../gabsocial/features/group_collection_timeline.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/gabsocial/features/group_collection_timeline.js b/app/javascript/gabsocial/features/group_collection_timeline.js index 3adc91d2..51128a04 100644 --- a/app/javascript/gabsocial/features/group_collection_timeline.js +++ b/app/javascript/gabsocial/features/group_collection_timeline.js @@ -39,8 +39,8 @@ class GroupCollectionTimeline extends React.PureComponent { if (this.props.collectionType === 'featured' && sortByValue !== GROUP_TIMELINE_SORTING_TYPE_HOT) { this.props.setFeaturedTop() - } else if (!!me && this.props.collectionType === 'member' && sortByValue !== GROUP_TIMELINE_SORTING_TYPE_HOT) { - this.props.setMemberHot() + } else if (!!me && this.props.collectionType === 'member' && sortByValue !== GROUP_TIMELINE_SORTING_TYPE_NEWEST) { + this.props.setMemberNewest() } else { const sortBy = getSortBy(sortByValue, sortByTopValue) this.props.onExpandGroupCollectionTimeline(collectionType, { sortBy })