Skip to content

Commit

Permalink
fix(dayViewLayout): container event check
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasandersen committed Feb 6, 2018
1 parent c756568 commit 3c4934e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/dayViewLayout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function getStyledEvents({ events, ...props }) {
const event = eventsInRenderOrder[i]

// Check if this event can go into a container event.
const container = containerEvents.find(c => c.endSlot >= event.startSlot)
const container = containerEvents.find(c => c.endSlot > event.startSlot)

// Couldn't find a container — that means this event is a container.
if (!container) {
Expand Down

0 comments on commit 3c4934e

Please sign in to comment.