Skip to content

Commit

Permalink
feat: add unit title to pluginslot
Browse files Browse the repository at this point in the history
  • Loading branch information
hajorg committed May 9, 2024
1 parent 1c3610e commit 42bbb1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ exports[`Unit component output snapshot: not bookmarked, do not show content 1`]
Object {
"courseId": "test-course-id",
"unitId": "test-props-id",
"unitTitle": "unit-title",
}
}
/>
Expand Down
1 change: 1 addition & 0 deletions src/courseware/course/sequence/Unit/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const Unit = ({
pluginProps={{
courseId,
unitId: id,
unitTitle: unit.title,
}}
/>
</div>
Expand Down

0 comments on commit 42bbb1b

Please sign in to comment.