@@ -282,7 +282,7 @@ class Milestone extends React.Component {
282282 ! isUpdating &&
283283 milestone . type === 'checkpoint-review' &&
284284 // old type 'checkpoint-review' which let user add links
285- _ . get ( milestone , 'details.prevMilestoneContent.links[0].type ' ) !== 'marvelapp ' &&
285+ _ . get ( milestone , 'details.prevMilestoneType ' ) !== 'add-links ' &&
286286 (
287287 < MilestoneTypeCheckpointReview
288288 milestone = { milestone }
@@ -297,8 +297,8 @@ class Milestone extends React.Component {
297297 ! isEditing &&
298298 ! isUpdating &&
299299 milestone . type === 'checkpoint-review' &&
300- // new type 'checkpoint-review' which gets list of links from previous milestone
301- _ . get ( milestone , 'details.prevMilestoneContent.links[0].type ' ) === 'marvelapp ' &&
300+ // new type 'checkpoint-review' which gets list of links from previous `add-links` milestone
301+ _ . get ( milestone , 'details.prevMilestoneType ' ) === 'add-links ' &&
302302 (
303303 < MilestoneTypeCheckpointReviewOnly
304304 milestone = { milestone }
@@ -321,7 +321,7 @@ class Milestone extends React.Component {
321321
322322 { ! isEditing && ! isUpdating && milestone . type === 'final-designs' &&
323323 // old type 'final-designs' which let user add links
324- _ . get ( milestone , 'details.prevMilestoneContent.links[0].type ' ) !== 'marvelapp ' &&
324+ _ . get ( milestone , 'details.prevMilestoneType ' ) !== 'add-links ' &&
325325 (
326326 < MilestoneTypeFinalDesigns
327327 milestone = { milestone }
@@ -333,8 +333,8 @@ class Milestone extends React.Component {
333333 ) }
334334
335335 { ! isEditing && ! isUpdating && milestone . type === 'final-designs' &&
336- // new type 'final-designs' which gets list of links from previous milestone
337- _ . get ( milestone , 'details.prevMilestoneContent.links[0].type ' ) === 'marvelapp ' &&
336+ // new type 'final-designs' which gets list of links from previous `add-links` milestone
337+ _ . get ( milestone , 'details.prevMilestoneType ' ) === 'add-links ' &&
338338 (
339339 < MilestoneTypeFinalDesignsSelectionOnly
340340 milestone = { milestone }
0 commit comments