Skip to content

Commit

Permalink
default groups
Browse files Browse the repository at this point in the history
  • Loading branch information
PluharVit committed May 18, 2022
1 parent 970e5b6 commit 71cae3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/PlanningTool.jsx
Expand Up @@ -192,7 +192,7 @@ class PlanningTool extends Component {
} else {
end = start.clone().add(item.minimumDuration, 'minute')
}
}else if(this.isMoreThanMaximumDuration(item,start,end)){
} else if (this.isMoreThanMaximumDuration(item, start, end)) {
if (edge === 'left') {
start = end.clone().subtract(item.maximumDuration, 'minute')
} else {
Expand Down Expand Up @@ -742,6 +742,7 @@ PlanningTool.defaultProps = {
maximumDuration: false,
}
],
groups: [],
popup: Popup,
}
export default PlanningTool

0 comments on commit 71cae3d

Please sign in to comment.