fixup! Add 'Show thread' button to posts with reply tree
This commit is contained in:
parent
6bc20537f9
commit
71b428e5c7
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ import { me } from '../initial_state';
|
|||
import { Map as ImmutableMap, List, fromJS } from 'immutable';
|
||||
|
||||
const importStatus = (state, status) => {
|
||||
if (state.getIn([status.in_reply_to_id, 'replies_count'], null) == 0) {
|
||||
if (state.getIn([status.in_reply_to_id, 'replies_count'], null) === 0) {
|
||||
state = state.setIn([status.in_reply_to_id, 'replies_count'], 1);
|
||||
}
|
||||
return state.set(status.id, fromJS(status));
|
||||
|
|
Loading…
Reference in a new issue