aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/bug/Timeline.js
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/bug/Timeline.js')
-rw-r--r--webui/src/bug/Timeline.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/webui/src/bug/Timeline.js b/webui/src/bug/Timeline.js
index d331d11d..3123f45f 100644
--- a/webui/src/bug/Timeline.js
+++ b/webui/src/bug/Timeline.js
@@ -8,7 +8,7 @@ import SetTitle from './SetTitle';
const styles = theme => ({
main: {
'& > *:not(:last-child)': {
- marginBottom: 10,
+ marginBottom: theme.spacing.unit * 2,
},
},
});
@@ -27,15 +27,15 @@ class Timeline extends React.Component {
<div className={classes.main}>
{ops.map((op, index) => {
switch (op.__typename) {
- case 'CreateOperation':
+ case 'CreateTimelineItem':
return <Message key={index} op={op} />;
- case 'AddCommentOperation':
+ case 'AddCommentTimelineItem':
return <Message key={index} op={op} />;
- case 'LabelChangeOperation':
+ case 'LabelChangeTimelineItem':
return <LabelChange key={index} op={op} />;
- case 'SetTitleOperation':
+ case 'SetTitleTimelineItem':
return <SetTitle key={index} op={op} />;
- case 'SetStatusOperation':
+ case 'SetStatusTimelineItem':
return <SetStatus key={index} op={op} />;
default: