Viewing Options state and name conventions

This commit is contained in:
Belen Curcio
2017-06-07 09:53:53 -03:00
parent e24f6ca9f1
commit 4725f07757
10 changed files with 44 additions and 36 deletions
@@ -6,9 +6,9 @@ import {
removeCommentClassName
} from 'coral-embed-stream/src/actions/comment';
import OffTopicFilter from '../components/OffTopicFilter';
import {closeViewingOptions} from 'coral-embed-stream/src/actions/stream';
import {closeViewingOptions} from 'plugins/coral-plugin-viewing-options/client/actions';
const mapStateToProps = ({comment, offTopic}) => ({
const mapStateToProps = ({comment, ['coral-plugin-offtopic'] : offTopic}) => ({
commentClassNames: comment.commentClassNames,
checked: offTopic.checked
});