diff options
Diffstat (limited to 'src/components/TimeLine.vue')
| -rw-r--r-- | src/components/TimeLine.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/TimeLine.vue b/src/components/TimeLine.vue index 3172e80..13fe662 100644 --- a/src/components/TimeLine.vue +++ b/src/components/TimeLine.vue @@ -442,7 +442,7 @@ const idToEvent = computed(() => { // Maps visible event IDs to HistEvents while (itr.data() != null){ let event = itr.data()!; itr.next(); - if (!event.start.isEarlier(lastDate.value)){ + if (dateToUnit(event.start, scale.value) > dateToUnit(lastDate.value, scale.value)){ break; } if ((store.ctgs as {[ctg: string]: boolean})[event.ctg] == false){ |
