0
0
Fork 0

Fix controls for unchangeable properties on status edit not being disabled (#17531)

Fixes #17520
This commit is contained in:
Claire 2022-02-12 19:00:33 +01:00 committed by GitHub
parent ee40c2c5b0
commit 38845592c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View file

@ -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 => ({