Merge pull request #821 from coralproject/dont-agree-action

"Don't agree" is not a flag action
This commit is contained in:
Kim Gardner
2017-07-31 15:15:16 -04:00
committed by GitHub
@@ -91,7 +91,7 @@ export default class FlagButton extends Component {
reason: null,
message
};
if (reason === 'I don\'t agree with this comment') {
if (reason === 'COMMENT_NOAGREE') {
postDontAgree(action)
.then(({data}) => {
if (itemType === 'COMMENTS') {