pollination-react-io 1.62.0 → 1.62.1
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 +5 -2
- package/build/index.esm.js.map +1 -1
- package/build/index.js +5 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
@@ -48929,7 +48929,7 @@ var RunCard = function (_a) {
|
|
48929
48929
|
/**
|
48930
48930
|
* Rendering - if error
|
48931
48931
|
*/
|
48932
|
-
if (error)
|
48932
|
+
if (error || !run)
|
48933
48933
|
return loaderNode !== null && loaderNode !== void 0 ? loaderNode : React__default.createElement(Logo, null);
|
48934
48934
|
/**
|
48935
48935
|
* Rendering - if CAD by web
|
@@ -48973,7 +48973,10 @@ var RunCard = function (_a) {
|
|
48973
48973
|
if (!localRun) {
|
48974
48974
|
if (!projectOwner)
|
48975
48975
|
return;
|
48976
|
-
window.location.href = "/".concat(projectOwner, "/projects/").concat(projectName);
|
48976
|
+
window.location.href = "/".concat(projectOwner, "/projects/").concat(projectName, "/tab=studies");
|
48977
|
+
}
|
48978
|
+
else {
|
48979
|
+
window.location.href = "/".concat(projectOwner, "/projects/").concat(projectName, "/?tab=local+studies");
|
48977
48980
|
}
|
48978
48981
|
}, style: hover.project ? { all: 'unset', cursor: 'pointer', color: '#40a9ff' } : { all: 'unset', cursor: 'pointer' } }, projectName !== null && projectName !== void 0 ? projectName : '--')),
|
48979
48982
|
React__default.createElement("div", { className: 'item2' },
|