mod-build 3.6.62 → 3.6.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/gulp-tasks/templates.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.6.63
|
|
4
|
+
|
|
5
|
+
- Adding conditional to check for `siteData` to exist before checking for the `useAccessibleConfig`.
|
|
6
|
+
|
|
3
7
|
## 3.6.62
|
|
4
8
|
|
|
5
9
|
- Adding the accessible components to the `grab-shared-components` task; As well as pulling the accessible `defaultFormFieldConfig` for the new template.js configuration (& merging to the new template stucture appropriately); As well as updating the `grab-shared-scripts` to pull in / edit the necessary accessible components (including the accessible abandonment JS file);
|
package/gulp-tasks/templates.js
CHANGED
|
@@ -248,7 +248,7 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
|
|
|
248
248
|
return async function() {
|
|
249
249
|
if (Object.keys(siteData).length > 0) {
|
|
250
250
|
if (!templatesData.doNotUseDefaultFieldConfig && !templatesData.defaultConfigCompleted) {
|
|
251
|
-
if (templatesData.siteData.useAccessibleConfig) {
|
|
251
|
+
if (templatesData.siteData && templatesData.siteData.useAccessibleConfig) {
|
|
252
252
|
await getDefaultFormFieldConfig('accessible-components');
|
|
253
253
|
} else {
|
|
254
254
|
await getDefaultFormFieldConfig('shared-components');
|