hof 20.2.7 → 20.2.10
Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,7 @@
|
|
28
28
|
value="{{value}}"
|
29
29
|
{{#toggle}} data-toggle="{{toggle}}"{{/toggle}}
|
30
30
|
{{#selected}} checked="checked"{{/selected}}
|
31
|
-
{{^error}}{{#optionHint}} aria-describedby="{{key}}-{{value}}-hint"{{/optionHint}}{{^optionHint}}{{#hint}} aria-describedby="{{key}}-hint"{{/hint}}{{/optionHint}}{{/error}}
|
31
|
+
{{^error}}{{#optionHint}} aria-describedby="{{key}}-{{value}}-item-hint"{{/optionHint}}{{^optionHint}}{{#hint}} aria-describedby="{{key}}-item-hint"{{/hint}}{{/optionHint}}{{/error}}
|
32
32
|
{{#error}} aria-describedby="{{key}}-error" aria-invalid="true"{{/error}}
|
33
33
|
>
|
34
34
|
<label class="govuk-label govuk-radios__label" for="{{key}}-{{value}}">
|
package/lib/ga-tag.js
CHANGED
@@ -45,7 +45,7 @@ module.exports = (app, config) => {
|
|
45
45
|
const gaCrossDomainTrackingTagId = config.gaCrossDomainTrackingTagId;
|
46
46
|
const routes = config.routes;
|
47
47
|
|
48
|
-
if (gaTagId) {
|
48
|
+
if (gaTagId || ga4TagId) {
|
49
49
|
const pageMap = setupPageMap(routes);
|
50
50
|
|
51
51
|
app.use((req, res, next) => {
|