Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,7 @@ class SubmissionsComponent extends React.Component {

isMM() {
const { challenge } = this.props;
const trackName = getTrackName(challenge);
return (trackName || '').toLowerCase() === 'data science' || checkIsMM(challenge);
return checkIsMM(challenge);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ correctness]
The removal of the trackName check simplifies the isMM method, but it assumes that checkIsMM(challenge) alone is sufficient to determine if a challenge is a Marathon Match. Ensure that checkIsMM correctly encapsulates all necessary logic, as this change could affect the behavior for challenges that are not strictly Marathon Matches but were previously filtered by the trackName check.

}

/**
Expand Down
Loading