aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components/BugTitleForm
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/components/BugTitleForm')
-rw-r--r--webui/src/components/BugTitleForm/BugTitleForm.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui/src/components/BugTitleForm/BugTitleForm.tsx b/webui/src/components/BugTitleForm/BugTitleForm.tsx
index c31f8ef7..9a161443 100644
--- a/webui/src/components/BugTitleForm/BugTitleForm.tsx
+++ b/webui/src/components/BugTitleForm/BugTitleForm.tsx
@@ -66,7 +66,7 @@ function BugTitleForm({ bug }: Props) {
function isFormValid() {
if (issueTitleInput) {
- return issueTitleInput.value.length > 0 ? true : false;
+ return issueTitleInput.value.length > 0;
} else {
return false;
}