From cf9e83e74dc5f91b0e13fbdb79848925e68809a3 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 15 Aug 2018 21:49:31 +0200 Subject: webui: display label changes in the timeline + cleaning evrywhere --- webui/src/bug/TimelineQuery.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'webui/src/bug/TimelineQuery.js') diff --git a/webui/src/bug/TimelineQuery.js b/webui/src/bug/TimelineQuery.js index e773aac0..ad4d00b0 100644 --- a/webui/src/bug/TimelineQuery.js +++ b/webui/src/bug/TimelineQuery.js @@ -2,6 +2,7 @@ import CircularProgress from '@material-ui/core/CircularProgress' import gql from 'graphql-tag' import React from 'react' import { Query } from 'react-apollo' +import LabelChange from './LabelChange' import Timeline from './Timeline' import Message from './Message' @@ -13,6 +14,7 @@ const QUERY = gql` nodes { ...Create ...Comment + ...LabelChange } pageInfo { hasNextPage @@ -24,10 +26,11 @@ const QUERY = gql` } ${Message.createFragment} ${Message.commentFragment} + ${LabelChange.fragment} ` const TimelineQuery = ({id}) => ( - + {({loading, error, data, fetchMore}) => { if (loading) return if (error) return

Error: {error}

-- cgit