mirror of
https://github.com/wassname/talk.git
synced 2026-07-03 13:46:23 +08:00
Merge branch 'master' into bugfix-suspect-reporting
This commit is contained in:
@@ -40,7 +40,7 @@ export const postComment = graphql(POST_COMMENT, {
|
||||
updateQueries: {
|
||||
AssetQuery: (oldData, {mutationResult:{data:{createComment:{comment}}}}) => {
|
||||
|
||||
if (oldData.asset.moderation === 'PRE') {
|
||||
if (oldData.asset.settings.moderation === 'PRE') {
|
||||
return oldData;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user