Skip to content

Commit

Permalink
better moreroot
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed May 12, 2021
1 parent f945d6c commit 4d3ed11
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions timeline/src/TimelineLaneMoreLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,22 @@ export class TimelineLaneMoreLink extends BaseComponent<TimelineLaneMoreLinkProp

render() {
let { props } = this
let { elRef, placement, resourceId } = props
let { hiddenSegs, elRef, placement, resourceId } = props
let extraDateSpan = resourceId ? { resourceId } : {}

return (
<MoreLinkRoot
allDayDate={null}
allSegs={props.hiddenSegs}
hiddenSegs={props.hiddenSegs}
moreCnt={hiddenSegs.length}
allSegs={hiddenSegs}
hiddenSegs={hiddenSegs}
alignmentElRef={this.rootElRef}
dateProfile={props.dateProfile}
todayRange={props.todayRange}
extraDateSpan={extraDateSpan}
popoverContent={() => (
<Fragment>
{props.hiddenSegs.map((seg) => {
{hiddenSegs.map((seg) => {
let instanceId = seg.eventRange.instance.instanceId
return (
<div
Expand Down

0 comments on commit 4d3ed11

Please sign in to comment.