diff options
Diffstat (limited to 'src/components/TimeLine.vue')
| -rw-r--r-- | src/components/TimeLine.vue | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/TimeLine.vue b/src/components/TimeLine.vue index 13589d2..1583aef 100644 --- a/src/components/TimeLine.vue +++ b/src/components/TimeLine.vue @@ -444,6 +444,9 @@ const idToEvent = computed(() => { // Maps visible event IDs to HistEvents if (!event.start.isEarlier(lastDate.value)){ break; } + if ((store.ctgs as {[ctg: string]: boolean})[event.ctg] == false){ + continue; + } map.set(event.id, event); } return map; |
