Skip to content

Commit

Permalink
filter out session types without instructional time.
Browse files Browse the repository at this point in the history
  • Loading branch information
stopfstedt committed Jul 19, 2024
1 parent b6ccee1 commit fc46a82
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export default class CourseVisualizeSessionTypesGraph extends Component {
});

return dataMap
.filter((obj) => obj.minutes > 0)
.reduce((set, obj) => {
const id = obj.sessionType.id;
let existing = findById(set, id);
Expand Down

0 comments on commit fc46a82

Please sign in to comment.