Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit 8ece2ec

Browse files
authored
Merge pull request #30 from appfolio/em-selectslot-conflict
Fix conflict with onselectslot and +more link on week view
2 parents ff122a8 + 62f7dcd commit 8ece2ec

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/DateContentRow.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@ class DateContentRow extends React.Component {
5959
super(...args);
6060
}
6161

62-
handleSelectSlot = (slot) => {
62+
handleSelectSlot = (slot, showingExtra) => {
6363
const { range, onSelectSlot } = this.props;
64-
64+
if(showingExtra) {
65+
return false;
66+
}
6567
onSelectSlot(
6668
range.slice(slot.start, slot.end + 1),
6769
slot,

0 commit comments

Comments
 (0)