aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/bug/SetStatus.js
diff options
context:
space:
mode:
authorQuentin Gliech <quentingliech@gmail.com>2019-05-22 21:46:43 +0200
committerQuentin Gliech <quentingliech@gmail.com>2019-05-22 21:46:43 +0200
commit1c2ee10ce7a32df892604846279c7e199ce0ccea (patch)
treee5534df088b309eeb2cb9096f0a4c87a46abd292 /webui/src/bug/SetStatus.js
parentaa6247ce870075922a1309718e8fafee321ef51d (diff)
downloadgit-bug-1c2ee10ce7a32df892604846279c7e199ce0ccea.tar.gz
graphql: Implement `Authored` whenever possible
webui: Use a fragment for Authored nodes
Diffstat (limited to 'webui/src/bug/SetStatus.js')
-rw-r--r--webui/src/bug/SetStatus.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/webui/src/bug/SetStatus.js b/webui/src/bug/SetStatus.js
index ab591038..eeff1a7b 100644
--- a/webui/src/bug/SetStatus.js
+++ b/webui/src/bug/SetStatus.js
@@ -26,14 +26,12 @@ SetStatus.fragment = gql`
fragment SetStatus on TimelineItem {
... on SetStatusTimelineItem {
date
- author {
- name
- email
- displayName
- }
+ ...authored
status
}
}
+
+ ${Author.fragment}
`;
export default SetStatus;