hof 20.0.1 → 20.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -121,7 +121,8 @@ module.exports = SuperClass => class extends SuperClass {
|
|
121
121
|
}
|
122
122
|
|
123
123
|
getStepForField(key, steps) {
|
124
|
-
|
124
|
+
const keyName = Array.isArray(key) ? key[0] : key;
|
125
|
+
return Object.keys(steps).filter(step => steps[step].fields && steps[step].fields.indexOf(keyName) > -1)[0];
|
125
126
|
}
|
126
127
|
|
127
128
|
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<a class="govuk-link" href="/cookies">View cookies</a>
|
19
19
|
</div>
|
20
20
|
</div>
|
21
|
-
<div class="gem-c-cookie-banner__confirmation govuk-width-container"
|
21
|
+
<div class="gem-c-cookie-banner__confirmation govuk-width-container" hidden="" id="cookie-banner-submitted" >
|
22
22
|
<p class="gem-c-cookie-banner__confirmation-message" role="alert">
|
23
23
|
Your cookie preferences have been saved. You can <a class="govuk-link" data-module="gem-track-click" data-track-category="cookieBanner" data-track-action="Cookie banner settings clicked from confirmation" href="/cookies">change your cookie settings</a> at any time.
|
24
24
|
</p>
|