Skip to content

Commit

Permalink
Merge pull request #220 from hecfernandez/hectorfernandez/fix-epic-ch…
Browse files Browse the repository at this point in the history
…ange-color-timeline-text

Fix project timeline message when changing color of an epic story
  • Loading branch information
CarlosLVar authored Sep 6, 2024
2 parents b926223 + 7df783c commit 84accc0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ class UserTimelineItemTitle
else
value = @translate.instant('ACTIVITY.VALUES.NOT_SET')

# color
else if timeline.getIn(["data", "value_diff", "key"]) == 'color'
if value
return value

new_value = value
else
new_value = timeline.getIn(["data", "value_diff", "value"]).first().get(1)
Expand Down

0 comments on commit 84accc0

Please sign in to comment.