about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/local_settings/page/index.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-05-12 21:55:44 +0200
committerThibG <thib@sitedethib.com>2019-05-17 23:51:14 +0200
commit9df1ef87c20380634c9ba2dff6f04725d7355c22 (patch)
tree29021d76e35a8874e27b061b5d9ff474d4adbd24 /app/javascript/flavours/glitch/features/local_settings/page/index.js
parentc2fa36bbaeb8c71adc14f1b5d4c23c7a5adfda6c (diff)
Hide content-type dropdown by default
Diffstat (limited to 'app/javascript/flavours/glitch/features/local_settings/page/index.js')
-rw-r--r--app/javascript/flavours/glitch/features/local_settings/page/index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/local_settings/page/index.js b/app/javascript/flavours/glitch/features/local_settings/page/index.js
index a13bffa3a..cd2d86713 100644
--- a/app/javascript/flavours/glitch/features/local_settings/page/index.js
+++ b/app/javascript/flavours/glitch/features/local_settings/page/index.js
@@ -153,6 +153,14 @@ export default class LocalSettingsPage extends React.PureComponent {
         </LocalSettingsPageItem>
         <LocalSettingsPageItem
           settings={settings}
+          item={['show_content_type_choice']}
+          id='mastodon-settings--show_content_type_choice'
+          onChange={onChange}
+        >
+          <FormattedMessage id='settings.show_content_type_choice' defaultMessage='Show content-type choice when authoring toots' />
+        </LocalSettingsPageItem>
+        <LocalSettingsPageItem
+          settings={settings}
           item={['side_arm']}
           id='mastodon-settings--side_arm'
           options={[