diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-12-16 09:10:24 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-12-16 09:10:24 -0500 |
commit | 34e0ac00e81f5e8912e341e4fece3b38dbb6cf76 (patch) | |
tree | 1e67c2ce24f447e26d4abc63df28a3828c919e60 /web/react/components/user_settings | |
parent | 3e418a100a3a491ebff7ba72ac003dd06752a30a (diff) | |
parent | 23af326af20cffef59ac8859e7def38f744a452b (diff) | |
download | chat-34e0ac00e81f5e8912e341e4fece3b38dbb6cf76.tar.gz chat-34e0ac00e81f5e8912e341e4fece3b38dbb6cf76.tar.bz2 chat-34e0ac00e81f5e8912e341e4fece3b38dbb6cf76.zip |
Merge pull request #1733 from hmhealey/plt1437
PLT-1437 PreferenceStore api changes and fixing CreatePost warning
Diffstat (limited to 'web/react/components/user_settings')
-rw-r--r-- | web/react/components/user_settings/user_settings_advanced.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/user_settings/user_settings_advanced.jsx b/web/react/components/user_settings/user_settings_advanced.jsx index c15936ccd..d4bd00bb5 100644 --- a/web/react/components/user_settings/user_settings_advanced.jsx +++ b/web/react/components/user_settings/user_settings_advanced.jsx @@ -18,7 +18,7 @@ export default class AdvancedSettingsDisplay extends React.Component { this.saveEnabledFeatures = this.saveEnabledFeatures.bind(this); const preReleaseFeaturesKeys = Object.keys(PreReleaseFeatures); - const advancedSettings = PreferenceStore.getPreferences(Constants.Preferences.CATEGORY_ADVANCED_SETTINGS); + const advancedSettings = PreferenceStore.getCategory(Constants.Preferences.CATEGORY_ADVANCED_SETTINGS); const settings = { send_on_ctrl_enter: PreferenceStore.getPreference( Constants.Preferences.CATEGORY_ADVANCED_SETTINGS, |