@plusscommunities/pluss-core-web 1.2.7 → 1.2.8

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/dist/index.cjs.js CHANGED
@@ -9014,7 +9014,7 @@ var AudienceSelector = /*#__PURE__*/function (_Component) {
9014
9014
  Category = _this$state2.Category,
9015
9015
  Tag = _this$state2.Tag,
9016
9016
  Type = _this$state2.Type;
9017
- if (AudienceType === 'Custom') return AudienceTagList;
9017
+ if (AudienceType === 'Custom') return AudienceTagList || [];
9018
9018
  if (AudienceType === 'Category') return Category;
9019
9019
  if (AudienceType === 'UserTags') return Tag;
9020
9020
  return Type;
@@ -9074,7 +9074,8 @@ var AudienceSelector = /*#__PURE__*/function (_Component) {
9074
9074
  Type: '',
9075
9075
  Category: '',
9076
9076
  includeList: [],
9077
- excludeList: []
9077
+ excludeList: [],
9078
+ AudienceTagList: []
9078
9079
  });
9079
9080
  setTimeout(this.onChangeSelection, 50);
9080
9081
  }
package/dist/index.esm.js CHANGED
@@ -8987,7 +8987,7 @@ var AudienceSelector = /*#__PURE__*/function (_Component) {
8987
8987
  Category = _this$state2.Category,
8988
8988
  Tag = _this$state2.Tag,
8989
8989
  Type = _this$state2.Type;
8990
- if (AudienceType === 'Custom') return AudienceTagList;
8990
+ if (AudienceType === 'Custom') return AudienceTagList || [];
8991
8991
  if (AudienceType === 'Category') return Category;
8992
8992
  if (AudienceType === 'UserTags') return Tag;
8993
8993
  return Type;
@@ -9047,7 +9047,8 @@ var AudienceSelector = /*#__PURE__*/function (_Component) {
9047
9047
  Type: '',
9048
9048
  Category: '',
9049
9049
  includeList: [],
9050
- excludeList: []
9050
+ excludeList: [],
9051
+ AudienceTagList: []
9051
9052
  });
9052
9053
  setTimeout(this.onChangeSelection, 50);
9053
9054
  }
package/dist/index.umd.js CHANGED
@@ -8989,7 +8989,7 @@
8989
8989
  Category = _this$state2.Category,
8990
8990
  Tag = _this$state2.Tag,
8991
8991
  Type = _this$state2.Type;
8992
- if (AudienceType === 'Custom') return AudienceTagList;
8992
+ if (AudienceType === 'Custom') return AudienceTagList || [];
8993
8993
  if (AudienceType === 'Category') return Category;
8994
8994
  if (AudienceType === 'UserTags') return Tag;
8995
8995
  return Type;
@@ -9049,7 +9049,8 @@
9049
9049
  Type: '',
9050
9050
  Category: '',
9051
9051
  includeList: [],
9052
- excludeList: []
9052
+ excludeList: [],
9053
+ AudienceTagList: []
9053
9054
  });
9054
9055
  setTimeout(this.onChangeSelection, 50);
9055
9056
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plusscommunities/pluss-core-web",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "Core extension package for Pluss Communities platform",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {
@@ -75,7 +75,7 @@ class AudienceSelector extends Component {
75
75
 
76
76
  getAudienceTypeSelection() {
77
77
  const { AudienceType, AudienceTagList, Category, Tag, Type } = this.state;
78
- if (AudienceType === 'Custom') return AudienceTagList;
78
+ if (AudienceType === 'Custom') return AudienceTagList || [];
79
79
  if (AudienceType === 'Category') return Category;
80
80
  if (AudienceType === 'UserTags') return Tag;
81
81
  return Type;
@@ -135,6 +135,7 @@ class AudienceSelector extends Component {
135
135
  Category: '',
136
136
  includeList: [],
137
137
  excludeList: [],
138
+ AudienceTagList: [],
138
139
  });
139
140
  setTimeout(this.onChangeSelection, 50);
140
141
  }