Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare authored Oct 5, 2024
1 parent 994d551 commit fbc7e50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/views/Timeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ export default {
const settingsStore = useSettingsStore();
return Number(settingsStore.durationDefault);
},
// TODO this does not match the actual vis-timeline.chartData which is rendered in the timeline.
// chartData excludes short events.
// This does not match the chartData which is rendered in the timeline, as chartData excludes short events.
num_events() {
return _.sumBy(this.buckets, 'events.length');
},
Expand Down

0 comments on commit fbc7e50

Please sign in to comment.