diff options
Diffstat (limited to 'webui/src/bug/Message.js')
-rw-r--r-- | webui/src/bug/Message.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/webui/src/bug/Message.js b/webui/src/bug/Message.js index a4e3eeb0..e858e003 100644 --- a/webui/src/bug/Message.js +++ b/webui/src/bug/Message.js @@ -32,7 +32,7 @@ const Message = ({ op, classes }) => ( <div className={classes.header}> <Author className={classes.author} author={op.author} bold /> <span> commented </span> - <Date date={op.date} /> + <Date date={op.createdAt} /> </div> <div className={classes.message}> <Typography>{op.message}</Typography> @@ -41,9 +41,9 @@ const Message = ({ op, classes }) => ( ); Message.createFragment = gql` - fragment Create on Operation { - ... on CreateOperation { - date + fragment Create on TimelineItem { + ... on CreateTimelineItem { + createdAt author { name email @@ -55,9 +55,9 @@ Message.createFragment = gql` `; Message.commentFragment = gql` - fragment Comment on Operation { - ... on AddCommentOperation { - date + fragment AddComment on TimelineItem { + ... on AddCommentTimelineItem { + createdAt author { name email |