diff --git a/src/components/AdminPane/Manage/ManageChallenges/EditChallenge/EditChallenges.test.js b/src/components/AdminPane/Manage/ManageChallenges/EditChallenge/EditChallenges.test.js index 3566f02b3..a33dbc5fb 100644 --- a/src/components/AdminPane/Manage/ManageChallenges/EditChallenge/EditChallenges.test.js +++ b/src/components/AdminPane/Manage/ManageChallenges/EditChallenge/EditChallenges.test.js @@ -30,5 +30,3 @@ describe("EditChallenges", () => { expect(challengeTwo).toBeInTheDocument(); }); }); - -//props.user?.properties?.mr3Frontend?.settings?.tallied?.[(props.project.id)]; \ No newline at end of file diff --git a/src/components/ChallengePane/ChallengeFilterSubnav/FilterByCategorizationKeywords.js b/src/components/ChallengePane/ChallengeFilterSubnav/FilterByCategorizationKeywords.js index 027c3b76e..86963747c 100644 --- a/src/components/ChallengePane/ChallengeFilterSubnav/FilterByCategorizationKeywords.js +++ b/src/components/ChallengePane/ChallengeFilterSubnav/FilterByCategorizationKeywords.js @@ -69,7 +69,7 @@ class FilterByCategorizationKeywords extends Component { render() { const categorizationFilters = this.props.searchFilters?.categorizationKeywords ?? []; - const categories = this.props.user?.properties.mr3Frontend.settings.categorizationKeys ?? []; + const categories = this.props.user?.properties?.mr3Frontend?.settings?.categorizationKeys ?? []; return ( { const isVirtual = _isFinite(ownProps.virtualChallengeId) const concreteChallengeId = _get(ownProps, 'challenge.id', ownProps.challengeId) const challengeId = isVirtual ? ownProps.virtualChallengeId : concreteChallengeId - const taskLoadMethod = ownProps.user?.properties.mr3Frontend?.settings?.loadMethod || TaskLoadMethod.random + const taskLoadMethod = ownProps.user?.properties?.mr3Frontend?.settings?.loadMethod || TaskLoadMethod.random const mappedProps = {} if (_isFinite(challengeId)) {