Fixed issue with composer destination in group, timeline

• Fixed:
- mobile composer min height
- issue with composer destination in group, timeline (hopefully)
This commit is contained in:
mgabdev
2020-12-31 21:46:31 -05:00
parent 27f1de6af3
commit 89225194ed
4 changed files with 25 additions and 15 deletions

View File

@@ -289,6 +289,11 @@ export const handleComposeSubmit = (dispatch, getState, response, status) => {
dispatch(insertIntoTagHistory(response.data.tags, status))
dispatch(submitComposeSuccess({ ...response.data }))
// If is group, reset composer to be in group
if (response.data.group) {
dispatch(changeComposeGroupId(response.data.group.id))
}
// To make the app more responsive, immediately push the status into the timeline
// : todo : push into comment, reload parent status, etc.
const insertIfOnline = (timelineId) => {