aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/bug/EditCommentForm.graphql
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-03-17 22:28:45 +0100
committerSascha <GlancingMind@outlook.com>2021-03-19 17:52:32 +0100
commit9fb033ef191a23b1338e0fdfe8ab1f462165b99d (patch)
tree8d42f7eff77db4227857b9e3cdb02d375ccff4b9 /webui/src/pages/bug/EditCommentForm.graphql
parentd6c3ffa984c57a546d437d9be989077d824fac46 (diff)
downloadgit-bug-9fb033ef191a23b1338e0fdfe8ab1f462165b99d.tar.gz
Return of new comment works...
...but the types are quite hacky
Diffstat (limited to 'webui/src/pages/bug/EditCommentForm.graphql')
-rw-r--r--webui/src/pages/bug/EditCommentForm.graphql9
1 files changed, 9 insertions, 0 deletions
diff --git a/webui/src/pages/bug/EditCommentForm.graphql b/webui/src/pages/bug/EditCommentForm.graphql
index c7047e6e..4765b75c 100644
--- a/webui/src/pages/bug/EditCommentForm.graphql
+++ b/webui/src/pages/bug/EditCommentForm.graphql
@@ -1,7 +1,16 @@
+#import "./MessageCommentFragment.graphql"
+#import "./MessageCreateFragment.graphql"
+
mutation EditComment($input: EditCommentInput!) {
editComment(input: $input) {
bug {
id
+ timeline {
+ comments: nodes {
+ ...Create
+ ...AddComment
+ }
+ }
}
}
}