diff options
Diffstat (limited to 'webui/src/bug/SetTitle.js')
-rw-r--r-- | webui/src/bug/SetTitle.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/webui/src/bug/SetTitle.js b/webui/src/bug/SetTitle.js index 5b17c431..f5c48568 100644 --- a/webui/src/bug/SetTitle.js +++ b/webui/src/bug/SetTitle.js @@ -7,6 +7,7 @@ import Date from '../Date'; const styles = theme => ({ main: { ...theme.typography.body2, + marginLeft: theme.spacing.unit + 40, }, bold: { fontWeight: 'bold', @@ -16,7 +17,7 @@ const styles = theme => ({ const SetTitle = ({ op, classes }) => { return ( <div className={classes.main}> - <Author author={op.author} bold /> + <Author author={op.author} className={classes.bold} /> <span> changed the title from </span> <span className={classes.bold}>{op.was}</span> <span> to </span> @@ -27,8 +28,8 @@ const SetTitle = ({ op, classes }) => { }; SetTitle.fragment = gql` - fragment SetTitle on Operation { - ... on SetTitleOperation { + fragment SetTitle on TimelineItem { + ... on SetTitleTimelineItem { date author { name |