mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 03:42:10 +03:00
expand condition for replies also
This commit is contained in:
parent
7222075bf7
commit
b68955dcb7
@ -462,7 +462,7 @@ export const getRankedPosts = async (query, currentUserName, filterNsfw) => {
|
|||||||
let posts = await client.call('bridge', 'get_ranked_posts', query);
|
let posts = await client.call('bridge', 'get_ranked_posts', query);
|
||||||
|
|
||||||
if (posts) {
|
if (posts) {
|
||||||
const areComments = query.sort === 'comments';
|
const areComments = query.sort === 'comments' || query.sort === 'replies';
|
||||||
posts = parsePosts(posts, currentUserName, areComments);
|
posts = parsePosts(posts, currentUserName, areComments);
|
||||||
|
|
||||||
if (filterNsfw !== '0') {
|
if (filterNsfw !== '0') {
|
||||||
|
Loading…
Reference in New Issue
Block a user