feat: Add Scheduled content alert
Adds a new alert to the outline page that informs the learner of content coming soon to the course.
This commit is contained in:
committed by
Albert (AJ) St. Aubin
parent
d2573a16b1
commit
3ef4daecce
@@ -124,7 +124,12 @@ export function buildMinimalCourseBlocks(courseId, title, options = {}) {
|
||||
)];
|
||||
const courseBlock = options.courseBlock || Factory.build(
|
||||
'block',
|
||||
{ type: 'course', display_name: title, children: sectionBlocks.map(block => block.id) },
|
||||
{
|
||||
type: 'course',
|
||||
display_name: title,
|
||||
has_scheduled_content: options.hasScheduledContent || false,
|
||||
children: sectionBlocks.map(block => block.id),
|
||||
},
|
||||
{ courseId },
|
||||
);
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user