chore: make sidebar less intrusive for mobile (#1377)

* chore: fix incorrect fetch result

* chore: make sidebar less intrusive for mobile

* chore: linting
This commit is contained in:
Leangseu Kim
2024-05-14 11:22:55 -04:00
committed by GitHub
parent 1857b86c7e
commit 257c9dcd7f
2 changed files with 6 additions and 4 deletions

View File

@@ -113,7 +113,7 @@ export function fetchCourse(courseId) {
logError(courseHomeMetadataResult.reason);
}
if (!fetchedCoursewareOutlineSidebarTogglesResult) {
logError(fetchedCoursewareOutlineSidebarTogglesResult.reason);
logError(coursewareOutlineSidebarTogglesResult.reason);
}
if (fetchedMetadata && fetchedCourseHomeMetadata) {
if (courseHomeMetadataResult.value.courseAccess.hasAccess && fetchedOutline) {