mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-19 14:55:31 +00:00
Fix removed reccuring instances (#3786)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
c6065d094a
commit
0136ccde1b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user