PLT-4431 Add post queuing to the webapp (#4800)
* Add post queuing to the webapp * Add more abstraction
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
ba6e370ca7
Коммит
25d40bc98c
@@ -332,10 +332,12 @@ export default class RhsThread extends React.Component {
|
||||
status = this.state.statuses[p.id] || 'offline';
|
||||
}
|
||||
|
||||
const keyPrefix = comPost.id ? comPost.id : comPost.pending_post_id;
|
||||
|
||||
return (
|
||||
<Comment
|
||||
ref={comPost.id}
|
||||
key={comPost.id + 'commentKey'}
|
||||
key={keyPrefix + 'commentKey'}
|
||||
post={comPost}
|
||||
user={p}
|
||||
currentUser={this.props.currentUser}
|
||||
|
||||
Ссылка в новой задаче
Block a user