Fix replying to a search result (#1278)
This commit is contained in:
parent
e1051395ba
commit
e68374d757
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ function mapStateToProps(state, ownProps) {
|
|||
const currentDraft = ownProps.rootId ? getThreadDraft(state, ownProps.rootId) : getCurrentChannelDraft(state);
|
||||
|
||||
return {
|
||||
channelId: getCurrentChannelId(state),
|
||||
channelId: ownProps.channelId || getCurrentChannelId(state),
|
||||
canUploadFiles: canUploadFilesOnMobile(state),
|
||||
channelIsLoading: state.views.channel.loading,
|
||||
currentUserId: getCurrentUserId(state),
|
||||
|
|
|
|||
Loading…
Reference in a new issue