]> cat aescling's git repositories - mastodon.git/blobdiff - app/javascript/mastodon/features/compose/containers/compose_form_container.js
Make secondary toot button work nicer with file attachments & revert to the original...
[mastodon.git] / app / javascript / mastodon / features / compose / containers / compose_form_container.js
index 4e8cd2279daa237468e7301cb4f327e4abe38ace..ffa0a3442f08fc93da00d7346cb973beec07856a 100644 (file)
@@ -26,6 +26,7 @@ const mapStateToProps = state => ({
   me: state.getIn(['compose', 'me']),
   showSearch: state.getIn(['search', 'submitted']) && !state.getIn(['search', 'hidden']),
   settings: state.get('local_settings'),
+  filesAttached: state.getIn(['compose', 'media_attachments']).size > 0,
 });
 
 const mapDispatchToProps = (dispatch) => ({
This page took 0.037182 seconds and 3 git commands to generate.