Skip to content

Commit

Permalink
Merge pull request #222 from guardian/change-opinion-image-behaviour
Browse files Browse the repository at this point in the history
Fix image override case: Change behaviour so fronts tool decides replacement image
  • Loading branch information
ajwl authored Nov 18, 2019
2 parents b975629 + 30ea054 commit 06fe028
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ object ResolvedMetaData {
cardStyle match {
case com.gu.facia.api.utils.Comment => Default.copy(
showByline = true,
showQuotedHeadline = true,
imageCutoutReplace = true)
showQuotedHeadline = true)
case _ if isCartoonForContent(content) => Default.copy(showByline = true)
case _ if isVideoForContent(content) => Default.copy(showMainVideo = true)
case _ => Default
Expand Down

0 comments on commit 06fe028

Please sign in to comment.