Skip to content

Commit 42901fc

Browse files
authored
Removing the estimated completion time box from the block. (#262)
1 parent c9cb366 commit 42901fc

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
significance: patch
2+
type: removed
3+
entry: Removing "Estimated Completion Time" from the Course Inforamtion block,
4+
as it was moved to General course options tab.

src/js/blocks/course-information/inspect.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,6 @@ export default class Inspector extends Component {
6161
] }
6262
/>
6363

64-
<TextControl
65-
label={ __( 'Estimated Completion Time', 'lifterlms' ) }
66-
value={ length }
67-
onChange={ ( value ) =>
68-
setAttributes( { length: value } )
69-
}
70-
help={ __(
71-
'How many hours, days, weeks, etc… should a student expect to spend in order to complete this course.',
72-
'lifterlms'
73-
) }
74-
/>
75-
7664
<ToggleControl
7765
label={ __( 'Display Estimated Time', 'lifterlms' ) }
7866
checked={ !! show_length }

0 commit comments

Comments
 (0)