aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components/BugTitleForm/BugTitleForm.tsx
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2021-03-19 17:04:59 +0100
committerMichael Muré <batolettre@gmail.com>2021-03-19 17:04:59 +0100
commit07e1c45cd70554630640bb1ea25968078a36fd6c (patch)
tree1b604b88932719d219d941333f38f5209f65945a /webui/src/components/BugTitleForm/BugTitleForm.tsx
parent0b3acaa3211b1c884bd42f18bf58383343b42bc1 (diff)
downloadgit-bug-07e1c45cd70554630640bb1ea25968078a36fd6c.tar.gz
webui: minor code fixes
Diffstat (limited to 'webui/src/components/BugTitleForm/BugTitleForm.tsx')
-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;
}