Skip to content

Commit c79805f

Browse files
committed
Hotfix for changed which got reverted during previous merge
1 parent 98f3747 commit c79805f

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/projects/detail/components/timeline/Milestone/Milestone.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ class Milestone extends React.Component {
175175
<div styleName="timeline-post">
176176
{(<div styleName={'background ' + ((this.state.isHoverHeader && !this.state.isEditing && !isCompleted) ? 'hover ': '')} />)}
177177
<div styleName="col-date">
178-
<div styleName={(isCompleted ? 'completed' : 'planned' )}>
178+
<div styleName={(isCompleted || isActive ? 'completed' : 'planned' )}>
179179
<div styleName="month">{month}</div>
180180
<div styleName="day">{date}</div>
181181
</div>

src/projects/detail/components/timeline/Timeline/Timeline.jsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,6 @@ class Timeline extends React.Component {
104104
const orderedMilestones = timeline.milestones ? _.orderBy(timeline.milestones, ['order']) : []
105105
return (
106106
<div ref={ div => { this.div = div } }>
107-
<TimelineHeader
108-
postContent={{
109-
title: timeline.name,
110-
postMsg: timeline.description,
111-
}}
112-
/>
113107
{_.reject(orderedMilestones, { hidden: true }).map((milestone) => (
114108
<Milestone
115109
key={milestone.id}

0 commit comments

Comments
 (0)