BOD-14 Cleanup and re-org of some components for messaging.
This commit is contained in:
@@ -94,7 +94,7 @@ const messagingReducer = (state = INITIAL_STATE, action) => {
|
||||
return {
|
||||
...state,
|
||||
conversations: state.conversations.map(c =>
|
||||
c.phone_num === action.payload ? { ...c, open: !c.open } : c
|
||||
c.id === action.payload ? { ...c, open: !c.open } : c
|
||||
)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user