diff options
author | Michael Muré <batolettre@gmail.com> | 2018-08-15 22:09:17 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-08-15 22:09:17 +0200 |
commit | 17aa40505b58a4a9d679efb8512252397872470c (patch) | |
tree | 9d783de22809130675efea74338161bfb9c28a01 /webui/src/bug/Timeline.js | |
parent | a47409377417538b7be446a6aa33dae8989cfd9a (diff) | |
download | git-bug-17aa40505b58a4a9d679efb8512252397872470c.tar.gz |
webui: display title changes in the timeline
Diffstat (limited to 'webui/src/bug/Timeline.js')
-rw-r--r-- | webui/src/bug/Timeline.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webui/src/bug/Timeline.js b/webui/src/bug/Timeline.js index 72c07121..2881a73b 100644 --- a/webui/src/bug/Timeline.js +++ b/webui/src/bug/Timeline.js @@ -2,6 +2,7 @@ import { withStyles } from '@material-ui/core/styles' import React from 'react' import LabelChange from './LabelChange' import Message from './Message' +import SetTitle from './SetTitle' const styles = theme => ({ main: { @@ -32,6 +33,8 @@ class Timeline extends React.Component { return <Message key={index} op={op}/> case 'LabelChangeOperation': return <LabelChange key={index} op={op}/> + case 'SetTitleOperation': + return <SetTitle key={index} op={op}/> default: console.log('unsupported operation type ' + op.__typename) |