fix: only show description if no due date set
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -23,3 +23,6 @@ module.config.js
|
||||
|
||||
# Local environment overrides
|
||||
.env.private
|
||||
|
||||
# Installed Packages
|
||||
packages
|
||||
@@ -39,7 +39,7 @@ const SequenceLink = ({
|
||||
const coursewareUrl = <Link to={`/course/${courseId}/${id}`}>{title}</Link>;
|
||||
const displayTitle = showLink ? coursewareUrl : title;
|
||||
|
||||
const dueDateString = due ? '{description} due {assignmentDue}' : '{description} (no due date)';
|
||||
const dueDateString = due ? '{description} due {assignmentDue}' : '{description}';
|
||||
|
||||
return (
|
||||
<li>
|
||||
|
||||
Reference in New Issue
Block a user