diff --git a/modules/issue_tracker/jsx/IssueCard.js b/modules/issue_tracker/jsx/IssueCard.js index ee490964ec8..892a38b95b7 100644 --- a/modules/issue_tracker/jsx/IssueCard.js +++ b/modules/issue_tracker/jsx/IssueCard.js @@ -36,7 +36,7 @@ const IssueCard = React.memo(function IssueCard({ const handleSubmit = (e) => { e.preventDefault(); - if (!tempEditedIssue.title.trim()) { + if (!tempEditedIssue.title || !tempEditedIssue.title.trim()) { showAlertMessage('error', 'Title cannot be empty'); return; }