@mjhls/mjh-framework 1.0.796-series-test → 1.0.796-series-test-v2

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.
@@ -9655,7 +9655,7 @@ var Filter = function Filter(_ref) {
9655
9655
  );
9656
9656
  })
9657
9657
  ),
9658
- childData && React__default['default'].createElement(
9658
+ childData && childData.data && childData.data.length > 0 && React__default['default'].createElement(
9659
9659
  DropdownButton,
9660
9660
  { drop: 'down', style: { borderRadius: '3px' }, className: 'filter-btn ml-3', title: childData.name ? childData.name : 'Filter By Topic' },
9661
9661
  React__default['default'].createElement(
@@ -9676,7 +9676,7 @@ var Filter = function Filter(_ref) {
9676
9676
  );
9677
9677
  })
9678
9678
  ),
9679
- grandChildData && React__default['default'].createElement(
9679
+ grandChildData && grandChildData.data && grandChildData.data.length > 0 && React__default['default'].createElement(
9680
9680
  DropdownButton,
9681
9681
  { drop: 'down', style: { borderRadius: '3px' }, className: 'filter-btn ml-3', title: grandChildData.name ? grandChildData.name : 'Select Sub Topic' },
9682
9682
  React__default['default'].createElement(
@@ -9917,6 +9917,10 @@ MediaSeriesLanding.getInitialData = function () {
9917
9917
  child.name = null;
9918
9918
  }
9919
9919
  });
9920
+
9921
+ topic.children = topic.children.filter(function (child) {
9922
+ return child._id !== null;
9923
+ });
9920
9924
  }
9921
9925
  });
9922
9926
 
@@ -9646,7 +9646,7 @@ var Filter = function Filter(_ref) {
9646
9646
  );
9647
9647
  })
9648
9648
  ),
9649
- childData && React.createElement(
9649
+ childData && childData.data && childData.data.length > 0 && React.createElement(
9650
9650
  DropdownButton,
9651
9651
  { drop: 'down', style: { borderRadius: '3px' }, className: 'filter-btn ml-3', title: childData.name ? childData.name : 'Filter By Topic' },
9652
9652
  React.createElement(
@@ -9667,7 +9667,7 @@ var Filter = function Filter(_ref) {
9667
9667
  );
9668
9668
  })
9669
9669
  ),
9670
- grandChildData && React.createElement(
9670
+ grandChildData && grandChildData.data && grandChildData.data.length > 0 && React.createElement(
9671
9671
  DropdownButton,
9672
9672
  { drop: 'down', style: { borderRadius: '3px' }, className: 'filter-btn ml-3', title: grandChildData.name ? grandChildData.name : 'Select Sub Topic' },
9673
9673
  React.createElement(
@@ -9908,6 +9908,10 @@ MediaSeriesLanding.getInitialData = function () {
9908
9908
  child.name = null;
9909
9909
  }
9910
9910
  });
9911
+
9912
+ topic.children = topic.children.filter(function (child) {
9913
+ return child._id !== null;
9914
+ });
9911
9915
  }
9912
9916
  });
9913
9917
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.796-series-test",
3
+ "version": "1.0.796-series-test-v2",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",