Fix crash in Direct Messages column settings

Fixes #892
lolsob-rspec
Thibaut Girka 2019-01-23 18:29:18 +01:00
parent 4d21b6d68e
commit 5e7c9c04e2
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ export default class ColumnSettings extends React.PureComponent {
<span className='column-settings__section'><FormattedMessage id='home.column_settings.advanced' defaultMessage='Advanced' /></span>
<div className='column-settings__row'>
<SettingText settings={settings} settingKey={['regex', 'body']} onChange={onChange} label={intl.formatMessage(messages.filter_regex)} />
<SettingText settings={settings} settingPath={['regex', 'body']} onChange={onChange} label={intl.formatMessage(messages.filter_regex)} />
</div>
</div>
);