aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/bug
diff options
context:
space:
mode:
authorCláudio <claudio.engdist@gmail.com>2021-02-02 16:43:09 -0300
committerCláudio <claudio.engdist@gmail.com>2021-02-02 16:43:09 -0300
commit7b1b77dc444518a07779e836ec0c4c6b9406bbf9 (patch)
tree27e248d641b81e9815c1612cda019ba378209d8d /webui/src/pages/bug
parente68e9306fe334766e7b23fdd3918f45a1a505fc3 (diff)
downloadgit-bug-7b1b77dc444518a07779e836ec0c4c6b9406bbf9.tar.gz
Commit for #546
Diffstat (limited to 'webui/src/pages/bug')
-rw-r--r--webui/src/pages/bug/CommentForm.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/webui/src/pages/bug/CommentForm.tsx b/webui/src/pages/bug/CommentForm.tsx
index c39f30c2..d0935e1e 100644
--- a/webui/src/pages/bug/CommentForm.tsx
+++ b/webui/src/pages/bug/CommentForm.tsx
@@ -5,6 +5,7 @@ import Paper from '@material-ui/core/Paper';
import { makeStyles, Theme } from '@material-ui/core/styles';
import CommentInput from '../../layout/CommentInput/CommentInput';
+import CloseBugButton from 'src/components/CloseBugButton/CloseBugButton';
import { useAddCommentMutation } from './CommentForm.generated';
import { TimelineDocument } from './TimelineQuery.generated';
@@ -28,6 +29,7 @@ const useStyles = makeStyles<Theme, StyleProps>((theme) => ({
justifyContent: 'flex-end',
},
greenButton: {
+ marginLeft: '8px',
backgroundColor: '#2ea44fd9',
color: '#fff',
'&:hover': {
@@ -89,6 +91,7 @@ function CommentForm({ bugId }: Props) {
onChange={(comment: string) => setIssueComment(comment)}
/>
<div className={classes.actions}>
+ <CloseBugButton bugId={bugId} />
<Button
className={classes.greenButton}
variant="contained"