pollination-react-io 1.73.5 → 1.73.7
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 +4 -1
- package/build/index.esm.js.map +1 -1
- package/build/index.js +4 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
@@ -45123,7 +45123,7 @@ var CreateStudy = function (_a) {
|
|
45123
45123
|
var jobName_1 = toUnixPath(projectJobInfo.studyId).split('/').reverse()[0];
|
45124
45124
|
// Path is the full path of the local machine where the run input/output are
|
45125
45125
|
setTimeout(function () {
|
45126
|
-
window.location.href = "".concat(basePath, "/").concat(projectJobInfo.accountName, "/projects/").concat(projectJobInfo.projectName, "/localStudies/").concat(jobName_1, "/?path=").concat(projectJobInfo.studyId);
|
45126
|
+
window.location.href = "".concat(basePath, "/").concat(projectJobInfo.accountName, "/projects/").concat(projectJobInfo.projectName, "/localStudies/").concat(jobName_1, "/?path=").concat(projectJobInfo.studyId, "&studyName=").concat(projectJobInfo.jobName);
|
45127
45127
|
}, 3000);
|
45128
45128
|
}
|
45129
45129
|
};
|
@@ -48817,6 +48817,7 @@ var StudyCard = function (_a) {
|
|
48817
48817
|
*/
|
48818
48818
|
var _12 = useSWR(authUser && _study ? [projectOwner, projectName, _study.id] : undefined, fetchJob, {
|
48819
48819
|
revalidateOnFocus: true,
|
48820
|
+
refreshWhenHidden: true,
|
48820
48821
|
refreshInterval: stopRefresh ? undefined : interval,
|
48821
48822
|
fallbackData: _study,
|
48822
48823
|
errorRetryCount: 3,
|
@@ -49127,6 +49128,7 @@ var RunCard = function (_a) {
|
|
49127
49128
|
*/
|
49128
49129
|
var _9 = useSWR(authUser && _run ? (!localRun ? [projectOwner, projectName, _run.id] : [_run.id, _run['subfolder']]) : undefined, localRun ? fetchLocalRun : fetchRun, {
|
49129
49130
|
revalidateOnFocus: true,
|
49131
|
+
refreshWhenHidden: true,
|
49130
49132
|
refreshInterval: stopRefresh ? undefined : interval,
|
49131
49133
|
fallbackData: localRun ? undefined : _run,
|
49132
49134
|
errorRetryCount: 3,
|
@@ -49247,6 +49249,7 @@ var RunCard = function (_a) {
|
|
49247
49249
|
window.location.href = "/".concat(projectOwner, "/projects/").concat(projectName, "/studies/").concat(study.id, "/runs/").concat(run.id);
|
49248
49250
|
}
|
49249
49251
|
else {
|
49252
|
+
// No studyName. Only completed run are visible in the list
|
49250
49253
|
window.location.href = "/".concat(projectOwner, "/projects/").concat(projectName, "/localStudies/").concat(localStudyURLname, "/?path=").concat(_run.id, "&subfolder=").concat(_run['subfolder']);
|
49251
49254
|
}
|
49252
49255
|
} },
|