Fix 404 error for coaching (#195)

This commit is contained in:
Thomas Tracy
2020-03-16 11:52:45 -04:00
committed by GitHub
parent c1d1af4943
commit 3a49fb3296
2 changed files with 2 additions and 2 deletions

View File

@@ -17,4 +17,4 @@ SITE_NAME='edX'
SUPPORT_URL='http://localhost:18000/support'
USER_INFO_COOKIE_NAME='edx-user-info'
# Temporary, Remove this once we are ready to release the feature.
COACHING_ENABLED=false
COACHING_ENABLED=''

View File

@@ -161,7 +161,7 @@ export async function getSettings(username, userRoles, userId) {
getThirdPartyAuthProviders(),
getProfileDataManager(username, userRoles),
getTimeZones(),
getCoachingPreferences(userId),
getConfig().COACHING_ENABLED && getCoachingPreferences(userId),
]);
return {