pollination-react-io 1.57.1 → 1.57.2

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
@@ -44777,7 +44777,7 @@ var CreateStudy = function (_a) {
44777
44777
  var jobName_1 = toUnixPath(projectJobInfo.studyId).split('/').reverse()[0];
44778
44778
  // Path is the full path of the local machine where the run input/output are
44779
44779
  setTimeout(function () {
44780
- window.location.href = "http://localhost:3000/".concat(projectJobInfo.accountName, "/projects/").concat(projectJobInfo.projectName, "/localStudies/").concat(jobName_1, "/?path=").concat(projectJobInfo.studyId);
44780
+ window.location.href = "".concat(basePath, "/").concat(projectJobInfo.accountName, "/projects/").concat(projectJobInfo.projectName, "/localStudies/").concat(jobName_1, "/?path=").concat(projectJobInfo.studyId);
44781
44781
  }, 3000);
44782
44782
  }
44783
44783
  };
@@ -49597,8 +49597,8 @@ var RunContent = function (_a) {
49597
49597
 
49598
49598
  var RunDetails = function (_a) {
49599
49599
  var projectName = _a.projectName, projectOwner = _a.projectOwner, run = _a.run, // Cloud and Local
49600
- runId = _a.runId; // TODO: delete it if RUN JSON has the field
49601
- _a.authUser; var client = _a.client, style = _a.style, getFileCard = _a.getFileCard, getFolderCard = _a.getFolderCard;
49600
+ runId = _a.runId, // TODO: delete it if RUN JSON has the field
49601
+ client = _a.client, style = _a.style, getFileCard = _a.getFileCard, getFolderCard = _a.getFolderCard;
49602
49602
  var _b = React.useState([]), extraInputs = _b[0], setExtraInputs = _b[1];
49603
49603
  var _c = React.useState([]), recipeInputs = _c[0], setRecipeInputs = _c[1];
49604
49604
  var _d = React.useState([]), outputs = _d[0], setOutputs = _d[1];
@@ -49612,6 +49612,7 @@ var RunDetails = function (_a) {
49612
49612
  var outputs = [];
49613
49613
  var recipeInputs = [];
49614
49614
  var extraInputs = [];
49615
+ // If cloud
49615
49616
  if (run.status) {
49616
49617
  run.status.inputs.forEach(function (i) {
49617
49618
  if (recipeInputNames.includes(i.name)) {
@@ -50304,7 +50305,7 @@ styleInject(css_248z);
50304
50305
 
50305
50306
  var RunRow = function (_a) {
50306
50307
  var _b, _c;
50307
- var projectOwner = _a.projectOwner, projectName = _a.projectName, run = _a.run, index = _a.index, client = _a.client, authUser = _a.authUser, style = _a.style, getFileCard = _a.getFileCard, getFolderCard = _a.getFolderCard;
50308
+ var projectOwner = _a.projectOwner, projectName = _a.projectName, run = _a.run, index = _a.index, client = _a.client; _a.authUser; var style = _a.style, getFileCard = _a.getFileCard, getFolderCard = _a.getFolderCard;
50308
50309
  var statusMap = useRuns(client).statusMap;
50309
50310
  var _d = React.useState(false), open = _d[0], setOpen = _d[1];
50310
50311
  /*
@@ -50404,7 +50405,7 @@ var RunRow = function (_a) {
50404
50405
  : hover.debugOver ? '#40a9ff'
50405
50406
  : '#000') } }))),
50406
50407
  open && React__default["default"].createElement("div", { className: 'run-details' },
50407
- React__default["default"].createElement(RunDetails, { projectOwner: projectOwner, projectName: projectName, run: run, authUser: authUser, client: client, getFileCard: getFileCard, getFolderCard: getFolderCard, style: style })));
50408
+ React__default["default"].createElement(RunDetails, { projectOwner: projectOwner, projectName: projectName, run: run, client: client, getFileCard: getFileCard, getFolderCard: getFolderCard, style: style })));
50408
50409
  };
50409
50410
 
50410
50411
  var RunTable = function (_a) {