PLT-4205 Fixed pending posts always being considered as part of a post thread (#4488)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
cb281ac714
Коммит
13dcccc60b
@@ -272,11 +272,13 @@ export default class PostList extends React.Component {
|
||||
commentRootId = post.id;
|
||||
}
|
||||
|
||||
for (const postId in posts) {
|
||||
if (posts[postId].root_id === commentRootId) {
|
||||
commentCount += 1;
|
||||
if (posts[postId].user_id === userId) {
|
||||
shouldHighlightThreads = true;
|
||||
if (commentRootId) {
|
||||
for (const postId in posts) {
|
||||
if (posts[postId].root_id === commentRootId) {
|
||||
commentCount += 1;
|
||||
if (posts[postId].user_id === userId) {
|
||||
shouldHighlightThreads = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user