Skip to content

Commit

Permalink
Upgrade govuk_publishing_components to v49.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AshGDS committed Jan 16, 2025
1 parent 35087b1 commit 17bd7d0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,11 @@ GEM
govuk_personalisation (1.0.0)
plek (>= 1.9.0)
rails (>= 6, < 8)
govuk_publishing_components (43.3.0)
govuk_publishing_components (47.0.0)
govuk_app_config
govuk_personalisation (>= 0.7.0)
kramdown
ostruct
plek
rails (>= 6)
rouge
Expand Down Expand Up @@ -548,6 +549,7 @@ GEM
opentelemetry-semantic_conventions
opentelemetry-semantic_conventions (1.10.1)
opentelemetry-api (~> 1.0)
ostruct (0.6.1)
parallel (1.26.3)
parser (3.3.5.0)
ast (~> 2.4.1)
Expand Down Expand Up @@ -822,4 +824,4 @@ DEPENDENCIES
with_advisory_lock

BUNDLED WITH
2.3.23
2.4.19
2 changes: 1 addition & 1 deletion app/views/file_attachments/_file_attachment.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<%= render "components/media_with_actions", actions: actions do %>
<%= render "govuk_publishing_components/components/attachment", {
attachment: file_attachment_attributes(attachment, edition),
data_attributes: {
url_data_attributes: {
gtm: "preview-attachment-block"
},
hide_opendocument_metadata: true,
Expand Down
4 changes: 2 additions & 2 deletions app/views/file_attachments/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<%= render "govuk_publishing_components/components/attachment", {
attachment: file_attachment_attributes(@attachment, @edition),
target: "_blank",
data_attributes: {
url_data_attributes: {
gtm: "preview-attachment-block"
}
} %>
Expand Down Expand Up @@ -43,7 +43,7 @@
<%= render "govuk_publishing_components/components/attachment_link", {
attachment: file_attachment_attributes(@attachment, @edition),
target: "_blank",
data_attributes: { gtm: "preview-attachment-link" }
url_data_attributes: { gtm: "preview-attachment-link" }
} %>
</div>
<% if rendering_context == "modal" %>
Expand Down

0 comments on commit 17bd7d0

Please sign in to comment.