diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-30 06:11:58 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-30 06:11:58 +0300 |
commit | 285277f94e486e2452fb1d06ff71103ea6ba0470 (patch) | |
tree | b99102663649c29e8454b09e9b04fadf5d5169e0 /app/models/release_highlight.rb | |
parent | f15be95ca1b92d0f37d926e909f2d805118ced29 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/release_highlight.rb')
-rw-r--r-- | app/models/release_highlight.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/release_highlight.rb b/app/models/release_highlight.rb index 17a9ad7db66..ed85c4e9c72 100644 --- a/app/models/release_highlight.rb +++ b/app/models/release_highlight.rb @@ -33,7 +33,7 @@ class ReleaseHighlight next unless include_item?(item) begin - item.tap {|i| i['body'] = Banzai.render(i['body'], { project: nil }) } + item.tap {|i| i['description'] = Banzai.render(i['description'], { project: nil }) } rescue StandardError => e Gitlab::ErrorTracking.track_exception(e, file_path: file_path) @@ -116,6 +116,6 @@ class ReleaseHighlight return true unless Gitlab::CurrentSettings.current_application_settings.whats_new_variant_current_tier? - item['packages']&.include?(current_package) + item['available_in']&.include?(current_package) end end |