Quick fix: Corrected Outline Tab redirect URL (#83)

Co-authored-by: Carla Duarte <cduarte@edx.org>
This commit is contained in:
Carla Duarte
2020-06-15 17:54:16 -04:00
committed by GitHub
parent 253836fa9f
commit b51809fa50

View File

@@ -158,7 +158,7 @@ export async function getOutlineTabData(courseId, version) {
} catch (error) {
const { httpErrorStatus } = error && error.customAttributes;
if (httpErrorStatus === 404) {
return window.location.replace(`${getConfig().LMS_BASE_URL}/courses/${courseId}/home`);
return window.location.replace(`${getConfig().LMS_BASE_URL}/courses/${courseId}/course`);
}
}