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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebe6a5c86b31c2e2fce6b8880ef30496868765542b40e81941d0ddd59255e93a
|
4
|
+
data.tar.gz: 20b8f074db69c1ebf49b63847f2f3c0276d6884ca6fb59a82bc95c7f71dde365
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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?
|
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?
|
122
|
+
!primary_step_by_steps? && secondary_step_by_step?
|
123
123
|
end
|
124
124
|
|
125
125
|
private
|