mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-19 19:31:54 +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);
|
||||
|
||||
if (posts) {
|
||||
const areComments = query.sort === 'comments';
|
||||
const areComments = query.sort === 'comments' || query.sort === 'replies';
|
||||
posts = parsePosts(posts, currentUserName, areComments);
|
||||
|
||||
if (filterNsfw !== '0') {
|
||||
|
Loading…
Reference in New Issue
Block a user