Skip to content

Commit 67be161

Browse files
committed
feat: is_preview key mapping for normalizeOutlineBlocks
1 parent 8ca5513 commit 67be161

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/course-home/data/api.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ export function normalizeOutlineBlocks(courseId, blocks) {
155155
title: block.display_name,
156156
hideFromTOC: block.hide_from_toc,
157157
navigationDisabled: block.navigation_disabled,
158+
isPreview: block.is_preview,
158159
};
159160
break;
160161

0 commit comments

Comments
 (0)