aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/bug/CommentForm.graphql
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2020-06-18 18:44:52 +0100
committerMichael Muré <batolettre@gmail.com>2020-06-27 22:58:21 +0200
commitcf67c78823bd1e7591c2199d51aa3f3fffed73c4 (patch)
tree4c2d07f0780a61bcde5f3e47c3ebaa2785fec64f /webui/src/pages/bug/CommentForm.graphql
parentdfdb5e090b9368d336cb7552c8c462bef243fbb0 (diff)
downloadgit-bug-cf67c78823bd1e7591c2199d51aa3f3fffed73c4.tar.gz
Refactor webui changes.
Don't use contexts, just raw Apollo, since it's cached anyway. Change "ReadonlyHidden" to "IfLoggedIn".
Diffstat (limited to 'webui/src/pages/bug/CommentForm.graphql')
-rw-r--r--webui/src/pages/bug/CommentForm.graphql4
1 files changed, 1 insertions, 3 deletions
diff --git a/webui/src/pages/bug/CommentForm.graphql b/webui/src/pages/bug/CommentForm.graphql
index f4b61850..33d21193 100644
--- a/webui/src/pages/bug/CommentForm.graphql
+++ b/webui/src/pages/bug/CommentForm.graphql
@@ -1,7 +1,5 @@
mutation AddComment($input: AddCommentInput!) {
addComment(input: $input) {
- operation {
- id
- }
+ operation { id }
}
}