diff options
Diffstat (limited to 'webui/src/pages/bug/Bug.tsx')
-rw-r--r-- | webui/src/pages/bug/Bug.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webui/src/pages/bug/Bug.tsx b/webui/src/pages/bug/Bug.tsx index 99b9bddd..7057f5a1 100644 --- a/webui/src/pages/bug/Bug.tsx +++ b/webui/src/pages/bug/Bug.tsx @@ -6,7 +6,7 @@ import { makeStyles } from '@material-ui/core/styles'; import Author from 'src/components/Author'; import Date from 'src/components/Date'; import Label from 'src/components/Label'; -import ReadonlyHidden from 'src/layout/ReadonlyHidden'; +import IfLoggedIn from 'src/layout/IfLoggedIn'; import { BugFragment } from './Bug.generated'; import CommentForm from './CommentForm'; @@ -89,11 +89,11 @@ function Bug({ bug }: Props) { <div className={classes.container}> <div className={classes.timeline}> <TimelineQuery id={bug.id} /> - <ReadonlyHidden> + <IfLoggedIn> <div className={classes.commentForm}> <CommentForm bugId={bug.id} /> </div> - </ReadonlyHidden> + </IfLoggedIn> </div> <div className={classes.sidebar}> <span className={classes.sidebarTitle}>Labels</span> |