@treely/strapi-slices 3.2.0 → 3.2.1

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.
@@ -2405,8 +2405,8 @@ var TextWithCard = function TextWithCard(_ref) {
2405
2405
  var slice = _ref.slice,
2406
2406
  projects = _ref.projects;
2407
2407
  var portfolioProject = projects.find(function (p) {
2408
- var _slice$project, _slice$project2;
2409
- return ((_slice$project = slice.project) == null ? void 0 : _slice$project.data.attributes.fpmProjectId) && p.id === ((_slice$project2 = slice.project) == null ? void 0 : _slice$project2.data.attributes.fpmProjectId);
2408
+ var _slice$project;
2409
+ return ((_slice$project = slice.project) == null || (_slice$project = _slice$project.data) == null ? void 0 : _slice$project.attributes.fpmProjectId) && p.id === slice.project.data.attributes.fpmProjectId;
2410
2410
  });
2411
2411
  var card = React.createElement(GridItem, {
2412
2412
  colSpan: [4, null, null, null, 2],