From 970c1cf1ab55df3d894c1c0a2bc9654b6f2b5c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Tue, 25 May 2021 21:02:20 +0200 Subject: [PATCH] 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 fb33a8be1994f9864a0ff4aca4bc8118e824a0c8..1a7ebc291a25ecabec29f1e7ab47c2eb80a3e55f 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 (