aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components/BugTitleForm
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2021-03-21 21:31:14 +0100
committerGitHub <noreply@github.com>2021-03-21 21:31:14 +0100
commit52df5a1f1199d085b2bb10fb7ed5599dcb8307c4 (patch)
tree031a10e135ceb60c623aca994db9c4c701b7ef66 /webui/src/components/BugTitleForm
parent6744cddaa6ed25b9f2c0c61ef9df1823b5e74e6e (diff)
parentaeb26d0e84b14a44ed52e2fd158b01310e295e45 (diff)
downloadgit-bug-52df5a1f1199d085b2bb10fb7ed5599dcb8307c4.tar.gz
Merge pull request #600 from GlancingMind/upstream-improve-navigation
WebUI: Improve navigation
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 cc9f5267..a7d5a820 100644
--- a/webui/src/components/BugTitleForm/BugTitleForm.tsx
+++ b/webui/src/components/BugTitleForm/BugTitleForm.tsx
@@ -70,7 +70,7 @@ function BugTitleForm({ bug }: Props) {
function isFormValid() {
if (issueTitleInput) {
- return issueTitleInput.value.length > 0 ? true : false;
+ return issueTitleInput.value.length > 0;
} else {
return false;
}