diff --git a/frontend/app/components/Session_/Issues/IssueForm.js b/frontend/app/components/Session_/Issues/IssueForm.js index f305c3ee7..365c367d9 100644 --- a/frontend/app/components/Session_/Issues/IssueForm.js +++ b/frontend/app/components/Session_/Issues/IssueForm.js @@ -37,7 +37,7 @@ class IssueForm extends React.PureComponent { addActivity(sessionId, instance).then(() => { const { errors } = this.props; - if (errors.length === 0) { + if (!errors || errors.length === 0) { this.props.init({projectId: instance.projectId}); this.props.fetchAssignments(sessionId); this.props.closeHandler();