Add the ability to edit media attachment metadata for any unattached media (#20402)
This commit is contained in:
parent
553b169d48
commit
31005aad12
3 changed files with 5 additions and 7 deletions
|
@ -5,7 +5,6 @@ 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