From 970c1cf1ab55df3d894c1c0a2bc9654b6f2b5c43 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Tue, 25 May 2021 21:02:20 +0200 Subject: Update webui/src/pages/bug/CommentForm.tsx --- webui/src/pages/bug/CommentForm.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webui/src/pages/bug/CommentForm.tsx b/webui/src/pages/bug/CommentForm.tsx index fb33a8be..1a7ebc29 100644 --- a/webui/src/pages/bug/CommentForm.tsx +++ b/webui/src/pages/bug/CommentForm.tsx @@ -81,11 +81,11 @@ function CommentForm({ bug }: Props) { function getBugStatusButton() { if (bug.status === 'OPEN' && issueComment.length > 0) { return ; - } else if (bug.status === 'OPEN') { + } + if (bug.status === 'OPEN') { return ; - } else { - return 0} />; } + return 0} />; } return ( -- cgit