sag_components 1.0.215 → 1.0.216

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.
@@ -19,7 +19,7 @@ var _TitleDescriptionStyle = require("./TitleDescription.style.js");
19
19
  var _excluded = ["showRetailerIcon", "data", "viewCreativeOnClick", "width", "height", "textColor", "disabled"];
20
20
  /*TitleDescription*/
21
21
  var TitleDescription = function TitleDescription(_ref) {
22
- var _data$objectivesDescr;
22
+ var _data$objectivesDescr, _data$eventDatesValue, _data$eventDatesValue2;
23
23
  var _ref$showRetailerIcon = _ref.showRetailerIcon,
24
24
  showRetailerIcon = _ref$showRetailerIcon === void 0 ? true : _ref$showRetailerIcon,
25
25
  data = _ref.data,
@@ -134,11 +134,11 @@ var TitleDescription = function TitleDescription(_ref) {
134
134
  id: "SubLineContainer"
135
135
  }), /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.SubLineContainer, {
136
136
  id: "SubLineContainer"
137
- }, /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.PeriodLabel, {
137
+ }, (data === null || data === void 0 ? void 0 : (_data$eventDatesValue = data.eventDatesValue) === null || _data$eventDatesValue === void 0 ? void 0 : _data$eventDatesValue.length) > 0 ? /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.PeriodLabel, {
138
138
  id: "PeriodLabel"
139
- }, "Event Dates: "), /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.PeriodValue, {
139
+ }, "Event Dates: ") : "", (data === null || data === void 0 ? void 0 : (_data$eventDatesValue2 = data.eventDatesValue) === null || _data$eventDatesValue2 === void 0 ? void 0 : _data$eventDatesValue2.length) > 0 ? /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.PeriodValue, {
140
140
  id: "PeriodValue"
141
- }, data.eventDatesValue))))));
141
+ }, data.eventDatesValue) : "")))));
142
142
  };
143
143
  exports.TitleDescription = TitleDescription;
144
144
  var _default = TitleDescription;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.215",
3
+ "version": "1.0.216",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {