Skip to content

Commit 3cb24c3

Browse files
committed
TCA-1052 - hide duration in course outline if this is not provided (eg. code interview)
1 parent 57e8764 commit 3cb24c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-ts/tools/learn/learn-lib/course-outline/collapsible-item/CollapsibleItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ const CollapsibleItem: FC<CollapsibleItemProps> = (props: CollapsibleItemProps)
147147
{' '}
148148
Lessons
149149
</span>
150-
{props.duration && (
150+
{!!props.duration && (
151151
<span className={styles['summary-item']}>
152152
<IconOutline.ClockIcon />
153153
{props.duration}

0 commit comments

Comments
 (0)