Ignore secondary event for 'later' eligibility if there's no current event
This commit is contained in:
parent
bd1617a7f1
commit
cb66e87204
1 changed files with 1 additions and 1 deletions
|
|
@ -250,7 +250,7 @@ const LaterEvents = ({
|
|||
let now = Date.now();
|
||||
for (let event of events) {
|
||||
if (
|
||||
event === data.current_event ||
|
||||
event === (data.current_event ?? data.secondary_event) ||
|
||||
event === data.next_event ||
|
||||
event.isFullDay
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue