only query for deleteScheduledAt when needed
This commit is contained in:
parent
a12e969bd1
commit
58a9d03e28
|
@ -99,6 +99,7 @@ export default forwardRef(function Reply ({ item, onSuccess, replyOpen, children
|
||||||
mutation upsertComment($text: String!, $parentId: ID!, $hash: String, $hmac: String) {
|
mutation upsertComment($text: String!, $parentId: ID!, $hash: String, $hmac: String) {
|
||||||
upsertComment(text: $text, parentId: $parentId, hash: $hash, hmac: $hmac) {
|
upsertComment(text: $text, parentId: $parentId, hash: $hash, hmac: $hmac) {
|
||||||
...CommentFields
|
...CommentFields
|
||||||
|
deleteScheduledAt
|
||||||
comments {
|
comments {
|
||||||
...CommentsRecursive
|
...CommentsRecursive
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,6 @@ export const COMMENT_FIELDS = gql`
|
||||||
parentId
|
parentId
|
||||||
createdAt
|
createdAt
|
||||||
deletedAt
|
deletedAt
|
||||||
deleteScheduledAt
|
|
||||||
text
|
text
|
||||||
user {
|
user {
|
||||||
id
|
id
|
||||||
|
|
|
@ -55,7 +55,6 @@ export const ITEM_FULL_FIELDS = gql`
|
||||||
fragment ItemFullFields on Item {
|
fragment ItemFullFields on Item {
|
||||||
...ItemFields
|
...ItemFields
|
||||||
text
|
text
|
||||||
deleteScheduledAt
|
|
||||||
root {
|
root {
|
||||||
id
|
id
|
||||||
title
|
title
|
||||||
|
|
Loading…
Reference in New Issue