pollination-react-io 1.62.5 → 1.62.6

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.
@@ -49522,15 +49522,21 @@ var FileCard = function (_a) {
49522
49522
  return path.split('/').reverse()[0];
49523
49523
  }, [path]);
49524
49524
  /**
49525
- * Read local file as Blob - Panel only
49525
+ * Read local file as base64 - Panel only
49526
49526
  */
49527
49527
  var base64AndFetch = function (path) {
49528
49528
  if (!path)
49529
49529
  return;
49530
49530
  var data = fromFileToBase64(path);
49531
49531
  var base64Data = data === null || data === void 0 ? void 0 : data.data;
49532
- if (!base64Data)
49532
+ if (!base64Data) {
49533
+ // Not found...
49534
+ setIsInactive(true);
49535
+ setCurrFile(undefined);
49536
+ setCADintegration(undefined);
49537
+ setIsLoading(false);
49533
49538
  return;
49539
+ }
49534
49540
  // bas64 mapping
49535
49541
  var t;
49536
49542
  switch (extension) {