govuk_publishing_components 21.21.1 → 21.21.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5bb625b1105f14705085b131ed71973c712032d13c43e6ea148388ba24e0588
4
- data.tar.gz: d8bcf0d4fb0614aa97e841073d705ffe07b10ff5d0280f6368238b00f1c92bcb
3
+ metadata.gz: ebe6a5c86b31c2e2fce6b8880ef30496868765542b40e81941d0ddd59255e93a
4
+ data.tar.gz: 20b8f074db69c1ebf49b63847f2f3c0276d6884ca6fb59a82bc95c7f71dde365
5
5
  SHA512:
6
- metadata.gz: fcd33f0c6b73a3962efe167c05456391c51694bdb7df40e6daddc469346653095077eefbcdb3c338ba8ad2003635d393c1b402d744c13ae2dc8463d05b573341
7
- data.tar.gz: 7fa9c29e8509f647927da50d63839e6c9deb701819b7c6096e9c539f57f1d531d6811c355e2e22762ceff00d84d5fb46220c8e7f3ea8bc2b13b0e3b8fb31aedf
6
+ metadata.gz: d4054a9e5e174987aa653e646ff9a521f7fdb92c943eb3b8918c3fbf01da9e81d31e07f4a1157df95778df57d14c958427d6a6275c19efb005a9b661493b4f51
7
+ data.tar.gz: 869303cd8ce3c31d4eb18a67417c82f5385f6446528eb04fb9593b68f0cfcd25976f06dcd357aeb2291639e3512fea9d21717a497911470aac9f63257d286301
@@ -38,7 +38,7 @@ module GovukPublishingComponents
38
38
  def show_related_links?
39
39
  if active_step_by_step?
40
40
  true
41
- elsif step_navs.any? && step_navs.count < 5
41
+ elsif step_navs.any?
42
42
  true
43
43
  elsif show_related_links_for_secondary_step_by_steps?
44
44
  true
@@ -119,7 +119,7 @@ module GovukPublishingComponents
119
119
  end
120
120
 
121
121
  def show_related_links_for_secondary_step_by_steps?
122
- !primary_step_by_steps? && secondary_step_by_step? && secondary_step_by_steps.count < 5
122
+ !primary_step_by_steps? && secondary_step_by_step?
123
123
  end
124
124
 
125
125
  private
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '21.21.1'.freeze
2
+ VERSION = '21.21.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_publishing_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 21.21.1
4
+ version: 21.21.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev