aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/bug/Message.js
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/bug/Message.js')
-rw-r--r--webui/src/bug/Message.js18
1 files changed, 6 insertions, 12 deletions
diff --git a/webui/src/bug/Message.js b/webui/src/bug/Message.js
index eea530fc..64498135 100644
--- a/webui/src/bug/Message.js
+++ b/webui/src/bug/Message.js
@@ -72,32 +72,26 @@ Message.createFragment = gql`
fragment Create on TimelineItem {
... on CreateTimelineItem {
createdAt
- author {
- name
- email
- displayName
- avatarUrl
- }
+ ...authored
edited
message
}
}
+
+ ${Author.fragment}
`;
Message.commentFragment = gql`
fragment AddComment on TimelineItem {
... on AddCommentTimelineItem {
createdAt
- author {
- name
- email
- displayName
- avatarUrl
- }
+ ...authored
edited
message
}
}
+
+ ${Author.fragment}
`;
export default Message;