awing-library 2.1.191-dev → 2.1.193-dev

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.
@@ -126,6 +126,7 @@ function SubCampaignDetail(props) {
126
126
  ? translationText.helperText
127
127
  : '', children: Object.values(Enum_2.AnalyticType)
128
128
  .filter(function (item) { return !isNaN(Number(item)); })
129
+ .filter(function (item) { return item !== Enum_2.AnalyticType.AuthenticationSuccess; })
129
130
  .filter(Boolean)
130
131
  .map(function (type) { return ((0, jsx_runtime_1.jsx)(material_1.MenuItem, { value: type, children: t("Campaign.BillingUnit.".concat((0, lodash_1.capitalize)((0, lodash_1.camelCase)(Enum_2.AnalyticType[type])))) }, type)); }) }) })] })), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 4, style: { padding: 8 }, children: (0, jsx_runtime_1.jsx)(material_1.FormControlLabel, { control: (0, jsx_runtime_1.jsx)(material_1.Checkbox, { checked: subCampaign.isReserved, onChange: function (e) {
131
132
  e.persist();
@@ -249,7 +249,7 @@ var CreateOrEdit = function (props) {
249
249
  var _a;
250
250
  if (campaignData.campaignWizard && (props === null || props === void 0 ? void 0 : props.quickWizard)) {
251
251
  if (childRefWizard.current) {
252
- childRefWizard.current.onSubmit({
252
+ return childRefWizard.current.onSubmit({
253
253
  campaignPartner: campaignData.campaignPartner,
254
254
  });
255
255
  }
@@ -79,5 +79,5 @@ var addTrackingCode = function (trackingValid, commonHtml, trackingCode) {
79
79
  return commonHtml;
80
80
  };
81
81
  exports.addTrackingCode = addTrackingCode;
82
- var validTabInfo = function (infoData) { return !!infoData.directoryId && (0, validation_1.textValidation)(infoData.title, 200).valid; };
82
+ var validTabInfo = function (infoData) { return !!infoData.directoryId && (0, validation_1.textValidation)(infoData.title, 200, true, false).valid; };
83
83
  exports.validTabInfo = validTabInfo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.191-dev",
3
+ "version": "2.1.193-dev",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",