nvis-fe-cms-libs 1.1.18 → 1.1.19

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.
@@ -4525,13 +4525,13 @@ var __async = (__this, __arguments, generator) => {
4525
4525
  ` })
4526
4526
  ] });
4527
4527
  };
4528
- const PageHighlightSection = ({ data, t, isDarkMode }) => {
4528
+ const PageHighlightSection = ({ data, t, isDarkMode, imageBaseUrl = "" }) => {
4529
4529
  var _a;
4530
4530
  const [activeTab, setActiveTab] = require$$0.useState(0);
4531
4531
  const rawData = ((_a = data == null ? void 0 : data.sectionDataBindingItems) == null ? void 0 : _a.filter((item) => item == null ? void 0 : item.data).map((item) => item.data)) || [];
4532
4532
  const getImageUrl = (imagePath) => {
4533
4533
  if (imagePath) {
4534
- return `${void 0}${imagePath}`;
4534
+ return `${imageBaseUrl}${imagePath}`;
4535
4535
  }
4536
4536
  return null;
4537
4537
  };