mirror of
https://github.com/wassname/talk.git
synced 2026-10-02 12:50:49 +08:00
Merge branch 'master' into bugfix-suspect-reporting
This commit is contained in:
commit
09eb2edb32
1 file changed
+1
-1
@@ -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