From 01d736c6b228587e2344129fe3ec329cc3daeccf Mon Sep 17 00:00:00 2001 From: Fosco Marotto Date: Mon, 25 Jan 2021 10:53:11 -0500 Subject: [PATCH] [group] Change group sorting default back to newest. --- app/javascript/gabsocial/features/group_timeline.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/gabsocial/features/group_timeline.js b/app/javascript/gabsocial/features/group_timeline.js index 3e5ff355..8713a14e 100644 --- a/app/javascript/gabsocial/features/group_timeline.js +++ b/app/javascript/gabsocial/features/group_timeline.js @@ -42,8 +42,8 @@ class GroupTimeline extends ImmutablePureComponent { isDeckConnected, } = this.props - if (sortByValue !== GROUP_TIMELINE_SORTING_TYPE_TOP_OPTION_WEEKLY) { - this.props.setMemberTopWeekly() + if (sortByValue !== GROUP_TIMELINE_SORTING_TYPE_NEWEST) { + this.props.setMemberNewest() } else { const sortBy = getSortBy(sortByValue, sortByTopValue, onlyMedia)