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 c4ed6b2 commit c9ce955
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 c9ce955

Please sign in to comment.