Skip to content

Commit 1e9d7bb

Browse files
Details Challenge - Fix check if mmSubmissions is empty
1 parent e58d4a0 commit 1e9d7bb

File tree

1 file changed

+1
-1
lines changed
  • src/shared/containers/challenge-detail

1 file changed

+1
-1
lines changed

src/shared/containers/challenge-detail/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ function mapStateToProps(state, props) {
724724
}));
725725
}
726726

727-
if (mmSubmissions) {
727+
if (!_.isEmpty(mmSubmissions)) {
728728
mmSubmissions = mmSubmissions.map((submission) => {
729729
let registrant;
730730
let { member } = submission;

0 commit comments

Comments
 (0)