From 850b9db8744c47b3f42b877078678f62ce77e38d Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Wed, 13 Mar 2019 21:16:02 +0100 Subject: webui: Use Timeline API instead of raw operations --- webui/src/bug/TimelineQuery.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'webui/src/bug/TimelineQuery.js') 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

Error: {error}

; return ( ); -- cgit