File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
MainFrame/EditorContainers/HomePage/LearnSection Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ const CourseSection = ({
173
173
style = { textEllipsisStyle }
174
174
color = { chapter . isLocked ? 'secondary' : 'primary' }
175
175
>
176
- { chapter . title }
176
+ { chapter . shortTitle || chapter . title }
177
177
</ Text >
178
178
</ Line >
179
179
{ chapter . isLocked ? (
Original file line number Diff line number Diff line change @@ -189,6 +189,7 @@ export type CourseChapterTask = {|
189
189
export type UnlockedCourseChapter = { |
190
190
id : string ,
191
191
title : string ,
192
+ shortTitle ?: string ,
192
193
videoUrl : string ,
193
194
isLocked ?: false ,
194
195
isFree ?: boolean ,
@@ -198,6 +199,7 @@ export type UnlockedCourseChapter = {|
198
199
export type LockedCourseChapter = { |
199
200
id : string ,
200
201
title : string ,
202
+ shortTitle ?: string ,
201
203
videoUrl : string ,
202
204
isLocked : true ,
203
205
isFree ?: boolean ,
You can’t perform that action at this time.
0 commit comments