mirror of
https://github.com/wassname/talk.git
synced 2026-07-27 11:28:12 +08:00
Fixed infoBoxEnabled name
This commit is contained in:
@@ -37,13 +37,13 @@ class Configure extends React.Component {
|
||||
}
|
||||
|
||||
updateInfoBoxEnable () {
|
||||
const infoboxEnable = this.props.settings.infoBoxEnable;
|
||||
this.props.dispatch(updateSettings({infoboxEnable}));
|
||||
const infoBoxEnable = !this.props.settings.infoBoxEnable;
|
||||
this.props.dispatch(updateSettings({infoBoxEnable}));
|
||||
}
|
||||
|
||||
updateInfoBoxContent () {
|
||||
const infoboxContent = this.props.settings.infoBoxContent;
|
||||
this.props.dispatch(updateSettings({infoboxContent}));
|
||||
const infoBoxContent = this.props.settings.infoBoxContent;
|
||||
this.props.dispatch(updateSettings({infoBoxContent}));
|
||||
}
|
||||
|
||||
saveSettings () {
|
||||
|
||||
Reference in New Issue
Block a user