mod-build 3.6.40-beta.1 → 3.6.40-beta.3
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/gulp-tasks/templates.js +2 -2
- package/package.json +1 -1
package/gulp-tasks/templates.js
CHANGED
|
@@ -169,7 +169,7 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
|
|
|
169
169
|
var getDefaultFormFieldConfig = async function() {
|
|
170
170
|
const siteData = templatesData;
|
|
171
171
|
await new Promise((resolve) => {
|
|
172
|
-
request(`https://${siteSettings.nodeEnv}/quote/resources/mod-site/shared-components/
|
|
172
|
+
request(`https://${siteSettings.nodeEnv}/quote/resources/mod-site/shared-components/steps/defaultFormFieldConfig.json`, async function(err, xhr, response) {
|
|
173
173
|
if (xhr.statusCode !== 200) {
|
|
174
174
|
throw new Error(`${xhr.statusCode}: Error while fetching shared-components/defaultFormFieldConfig.json`);
|
|
175
175
|
}
|
|
@@ -192,7 +192,7 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
|
|
|
192
192
|
};
|
|
193
193
|
|
|
194
194
|
return async function() {
|
|
195
|
-
if (templatesData.
|
|
195
|
+
if (!templatesData.doNotUseDefaultFieldConfig) {
|
|
196
196
|
await getDefaultFormFieldConfig();
|
|
197
197
|
}
|
|
198
198
|
|