diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-05-12 21:55:44 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-05-17 23:51:14 +0200 |
commit | 9df1ef87c20380634c9ba2dff6f04725d7355c22 (patch) | |
tree | 29021d76e35a8874e27b061b5d9ff474d4adbd24 /app/javascript/flavours/glitch/features/compose/containers | |
parent | c2fa36bbaeb8c71adc14f1b5d4c23c7a5adfda6c (diff) |
Hide content-type dropdown by default
Diffstat (limited to 'app/javascript/flavours/glitch/features/compose/containers')
-rw-r--r-- | app/javascript/flavours/glitch/features/compose/containers/options_container.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/containers/options_container.js b/app/javascript/flavours/glitch/features/compose/containers/options_container.js index 2ac7ab8d8..a9ad3a5e8 100644 --- a/app/javascript/flavours/glitch/features/compose/containers/options_container.js +++ b/app/javascript/flavours/glitch/features/compose/containers/options_container.js @@ -17,6 +17,7 @@ function mapStateToProps (state) { allowMedia: !poll && (media ? media.size < 4 && !media.some(item => item.get('type') === 'video') : true), hasMedia: media && !!media.size, allowPoll: !(media && !!media.size), + showContentTypeChoice: state.getIn(['local_settings', 'show_content_type_choice']), }; }; |