pollination-react-io 1.92.9 → 1.92.10

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/build/index.js CHANGED
@@ -56513,6 +56513,9 @@ var RunCard = function (_a) {
56513
56513
  var _a, _b;
56514
56514
  if (!localStudy)
56515
56515
  return;
56516
+ // TODO: improve it in the future, GH defect
56517
+ if (!(localStudy === null || localStudy === void 0 ? void 0 : localStudy.name))
56518
+ return 'Unnamed';
56516
56519
  return (_b = (_a = localStudy === null || localStudy === void 0 ? void 0 : localStudy.name) === null || _a === void 0 ? void 0 : _a.replace(/[^a-zA-Z0-9]/g, '')) === null || _b === void 0 ? void 0 : _b.replace(/[ ()]/g, '');
56517
56520
  }, [localStudy]);
56518
56521
  /**