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/Timeline.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'webui/src/bug/Timeline.js') diff --git a/webui/src/bug/Timeline.js b/webui/src/bug/Timeline.js index 0c4100ec..72c07121 100644 --- a/webui/src/bug/Timeline.js +++ b/webui/src/bug/Timeline.js @@ -1,5 +1,6 @@ import { withStyles } from '@material-ui/core/styles' import React from 'react' +import LabelChange from './LabelChange' import Message from './Message' const styles = theme => ({ @@ -26,9 +27,11 @@ class Timeline extends React.Component { { ops.map((op, index) => { switch (op.__typename) { case 'CreateOperation': - return + return case 'AddCommentOperation': - return + return + case 'LabelChangeOperation': + return default: console.log('unsupported operation type ' + op.__typename) -- cgit