@popsure/dirty-swan 0.66.11 → 0.66.12

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/cjs/index.js CHANGED
@@ -22900,7 +22900,7 @@ var TableContents = function (_a) {
22900
22900
  ? true
22901
22901
  : isSectionOpen === index || isFirstSection;
22902
22902
  var isVisible = hideDetails ? !shouldHideDetails : true;
22903
- var renderedIcon = (jsxRuntime.jsx(IconRenderer, { icon: section.icon, imageComponent: imageComponent, width: 20 }));
22903
+ var renderedIcon = section.icon ? (jsxRuntime.jsx(IconRenderer, { icon: section.icon, imageComponent: imageComponent, width: 20 })) : null;
22904
22904
  // Calculate section-specific hideRows based on global offset
22905
22905
  var sectionHideRows = hideRows
22906
22906
  .map(function (globalRowIndex) { return globalRowIndex - globalRowOffset; })