mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-11 12:17:44 +02:00
Fix removed reccuring instances (#3786)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -322,7 +322,7 @@ export function getAllEvents (events: Event[], from: Timestamp, to: Timestamp):
|
||||
...base,
|
||||
...recurData,
|
||||
...instances.filter((p) => {
|
||||
return from <= p.dueDate && p.date <= to
|
||||
return from <= p.dueDate && p.date <= to && p.isCancelled !== true
|
||||
})
|
||||
]
|
||||
res.sort((a, b) => a.date - b.date)
|
||||
|
||||
Reference in New Issue
Block a user