From 6af94cdfa2fff57df50fcc135a9180eabc3ce817 Mon Sep 17 00:00:00 2001 From: AshGDS <8880610+AshGDS@users.noreply.github.com> Date: Thu, 16 Jan 2025 11:09:13 +0000 Subject: [PATCH] Upgrade govuk_publishing_components to v49.0.0 --- Gemfile.lock | 2 +- app/views/organisations/_organisations_list.html.erb | 2 +- app/views/world/index.html.erb | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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", }, } %>