aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/bug/TimelineQuery.js
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/bug/TimelineQuery.js')
-rw-r--r--webui/src/bug/TimelineQuery.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/webui/src/bug/TimelineQuery.js b/webui/src/bug/TimelineQuery.js
index 78658a6f..ebb20f9d 100644
--- a/webui/src/bug/TimelineQuery.js
+++ b/webui/src/bug/TimelineQuery.js
@@ -12,13 +12,13 @@ const QUERY = gql`
query($id: String!, $first: Int = 10, $after: String) {
defaultRepository {
bug(prefix: $id) {
- operations(first: $first, after: $after) {
+ timeline(first: $first, after: $after) {
nodes {
- ...Create
- ...Comment
...LabelChange
- ...SetTitle
...SetStatus
+ ...SetTitle
+ ...AddComment
+ ...Create
}
pageInfo {
hasNextPage
@@ -42,7 +42,7 @@ const TimelineQuery = ({ id }) => (
if (error) return <p>Error: {error}</p>;
return (
<Timeline
- ops={data.defaultRepository.bug.operations.nodes}
+ ops={data.defaultRepository.bug.timeline.nodes}
fetchMore={fetchMore}
/>
);