awing-library 2.1.110-beta → 2.1.111-beta

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.
@@ -193,11 +193,11 @@ var CreateOrEdit = function () {
193
193
  return;
194
194
  }
195
195
  var data4Update = {
196
- template: __assign(__assign({}, templateData.template), { id: templateId }),
196
+ template: templateData.template,
197
197
  // eslint-disable-next-line no-sequences
198
198
  templateParameters: parameters.map(function (parameter) { return (
199
199
  // eslint-disable-next-line no-sequences
200
- delete parameter.childrens, __assign(__assign({}, parameter), { templateId: templateId })); }),
200
+ delete parameter.childrens, __assign(__assign({}, parameter), { templateId: templateId || templateData.template.id })); }),
201
201
  templateEvents: templateData.templateEvents
202
202
  };
203
203
  if (templateId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.110-beta",
3
+ "version": "2.1.111-beta",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",