Fix controls for unchangeable properties on status edit not being disabled (#17531)
Fixes #17520
This commit is contained in:
parent
ee40c2c5b0
commit
38845592c4
4 changed files with 8 additions and 4 deletions
|
@ -5,6 +5,7 @@ import { submitCompose } from '../../../actions/compose';
|
|||
|
||||
const mapStateToProps = (state, { id }) => ({
|
||||
media: state.getIn(['compose', 'media_attachments']).find(item => item.get('id') === id),
|
||||
isEditingStatus: state.getIn(['compose', 'id']) !== null,
|
||||
});
|
||||
|
||||
const mapDispatchToProps = dispatch => ({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue