0
0
Fork 0

Hide content-type dropdown by default

This commit is contained in:
Thibaut Girka 2019-05-12 21:55:44 +02:00 committed by ThibG
parent c2fa36bbae
commit 9df1ef87c2
4 changed files with 28 additions and 14 deletions

View file

@ -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']),
};
};