pollination-react-io 1.62.0 → 1.62.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.esm.js +7 -3
- package/build/index.esm.js.map +1 -1
- package/build/index.js +7 -3
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
@@ -48955,7 +48955,7 @@ var RunCard = function (_a) {
|
|
48955
48955
|
/**
|
48956
48956
|
* Rendering - if error
|
48957
48957
|
*/
|
48958
|
-
if (error)
|
48958
|
+
if (error || !run)
|
48959
48959
|
return loaderNode !== null && loaderNode !== void 0 ? loaderNode : React__default["default"].createElement(Logo, null);
|
48960
48960
|
/**
|
48961
48961
|
* Rendering - if CAD by web
|
@@ -48999,7 +48999,10 @@ var RunCard = function (_a) {
|
|
48999
48999
|
if (!localRun) {
|
49000
49000
|
if (!projectOwner)
|
49001
49001
|
return;
|
49002
|
-
window.location.href = "/".concat(projectOwner, "/projects/").concat(projectName);
|
49002
|
+
window.location.href = "/".concat(projectOwner, "/projects/").concat(projectName, "/tab=studies");
|
49003
|
+
}
|
49004
|
+
else {
|
49005
|
+
window.location.href = "/".concat(projectOwner, "/projects/").concat(projectName, "/?tab=local+studies");
|
49003
49006
|
}
|
49004
49007
|
}, style: hover.project ? { all: 'unset', cursor: 'pointer', color: '#40a9ff' } : { all: 'unset', cursor: 'pointer' } }, projectName !== null && projectName !== void 0 ? projectName : '--')),
|
49005
49008
|
React__default["default"].createElement("div", { className: 'item2' },
|
@@ -49578,7 +49581,8 @@ var FileCard = function (_a) {
|
|
49578
49581
|
.catch(function () { return onClicked({ label: label, path: path, file: undefined, description: description, runId: runId }); });
|
49579
49582
|
}
|
49580
49583
|
else {
|
49581
|
-
|
49584
|
+
// Some inputs has path == null
|
49585
|
+
if (!isPanel || !path) {
|
49582
49586
|
setIsInactive(true);
|
49583
49587
|
setCurrFile(undefined);
|
49584
49588
|
setCADintegration(undefined);
|