File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed
src/projects/detail/components/timeline Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import React from 'react'
55import PT from 'prop-types'
66import _ from 'lodash'
77
8- import TimelineHeader from '../TimelineHeader'
98import Milestone from '../Milestone'
109import LoadingIndicator from '../../../../../components/LoadingIndicator/LoadingIndicator'
1110
@@ -104,12 +103,6 @@ class Timeline extends React.Component {
104103 const orderedMilestones = timeline . milestones ? _ . orderBy ( timeline . milestones , [ 'order' ] ) : [ ]
105104 return (
106105 < div ref = { div => { this . div = div } } >
107- < TimelineHeader
108- postContent = { {
109- title : timeline . name ,
110- postMsg : timeline . description ,
111- } }
112- />
113106 { _ . reject ( orderedMilestones , { hidden : true } ) . map ( ( milestone ) => (
114107 < Milestone
115108 key = { milestone . id }
You can’t perform that action at this time.
0 commit comments