diff --git a/Gemfile.lock b/Gemfile.lock index ad2d6d035..bd40da1cc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -218,7 +218,7 @@ GEM govuk_personalisation (1.1.0) plek (>= 1.9.0) rails (>= 6, < 9) - govuk_publishing_components (48.0.0) + govuk_publishing_components (49.0.0) govuk_app_config govuk_personalisation (>= 0.7.0) kramdown diff --git a/app/views/organisations/_organisations_list.html.erb b/app/views/organisations/_organisations_list.html.erb index c13c84738..2c97ad250 100644 --- a/app/views/organisations/_organisations_list.html.erb +++ b/app/views/organisations/_organisations_list.html.erb @@ -11,7 +11,7 @@
<%= t('organisations.count_prefix') %> <%= organisations.count %> <%= organisation_type.to_s.humanize %>
<%= render "govuk_publishing_components/components/big_number", { number: organisations.count, - data_attributes: { + nested_data_attributes: { item_count: "true", }, aria: { diff --git a/app/views/world/index.html.erb b/app/views/world/index.html.erb index 87405574c..724946e48 100644 --- a/app/views/world/index.html.erb +++ b/app/views/world/index.html.erb @@ -49,7 +49,7 @@ aria: { hidden: true, }, - data_attributes: { + nested_data_attributes: { item_count: "true", }, } %> @@ -90,7 +90,7 @@ aria: { hidden: true, }, - data_attributes: { + nested_data_attributes: { item_count: "true", }, } %>