mirror of
https://github.com/wassname/talk.git
synced 2026-07-17 11:33:39 +08:00
"Don't agree" is not a flag action
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user