mirror of
https://github.com/wassname/talk.git
synced 2026-08-10 12:41:02 +08:00
remove logs
This commit is contained in:
@@ -35,7 +35,6 @@ export const updateWordlist = (listName, list) => {
|
||||
|
||||
export const saveSettingsToServer = () => (dispatch, getState) => {
|
||||
let settings = getState().settings.toJS().settings;
|
||||
console.log('about to save settings to server', settings);
|
||||
if (settings.charCount) {
|
||||
settings.charCount = parseInt(settings.charCount);
|
||||
}
|
||||
|
||||
@@ -66,7 +66,6 @@ class Configure extends React.Component {
|
||||
|
||||
getSection (section) {
|
||||
const pageTitle = this.getPageTitle(section);
|
||||
console.log('getSection', this.props);
|
||||
switch(section){
|
||||
case 'comments':
|
||||
return <CommentSettings
|
||||
|
||||
@@ -88,13 +88,9 @@ class ModerationQueue extends React.Component {
|
||||
|
||||
// Render the tabbed lists moderation queues
|
||||
render () {
|
||||
const {comments, users, settings, actions} = this.props;
|
||||
const {comments, users, settings} = this.props;
|
||||
const {activeTab, singleView, modalOpen} = this.state;
|
||||
|
||||
console.log('ModerationQueue comments', comments);
|
||||
console.log('settings', settings);
|
||||
console.log('actions', actions);
|
||||
|
||||
const premodIds = comments.ids.filter(id => comments.byId[id].status === 'premod');
|
||||
const rejectedIds = comments.ids.filter(id => comments.byId[id].status === 'rejected');
|
||||
const flaggedIds = comments.ids.filter(id => comments.byId[id].flagged === true);
|
||||
|
||||
@@ -46,7 +46,6 @@ const updateWordlist = (state, action) => {
|
||||
const saveComplete = (state, action) => {
|
||||
const s = state.set('fetchingSettings', false).set('saveSettingsError', null);
|
||||
const settings = s.get('settings').merge(action.settings);
|
||||
console.log('saveComplete', settings.toJS());
|
||||
return s.set('settings', settings);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user