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.js
CHANGED
@@ -45149,7 +45149,7 @@ var CreateStudy = function (_a) {
|
|
45149
45149
|
var jobName_1 = toUnixPath(projectJobInfo.studyId).split('/').reverse()[0];
|
45150
45150
|
// Path is the full path of the local machine where the run input/output are
|
45151
45151
|
setTimeout(function () {
|
45152
|
-
window.location.href = "".concat(basePath, "/").concat(projectJobInfo.accountName, "/projects/").concat(projectJobInfo.projectName, "/localStudies/").concat(jobName_1, "/?path=").concat(projectJobInfo.studyId);
|
45152
|
+
window.location.href = "".concat(basePath, "/").concat(projectJobInfo.accountName, "/projects/").concat(projectJobInfo.projectName, "/localStudies/").concat(jobName_1, "/?path=").concat(projectJobInfo.studyId, "&studyName=").concat(projectJobInfo.jobName);
|
45153
45153
|
}, 3000);
|
45154
45154
|
}
|
45155
45155
|
};
|
@@ -48843,6 +48843,7 @@ var StudyCard = function (_a) {
|
|
48843
48843
|
*/
|
48844
48844
|
var _12 = useSWR(authUser && _study ? [projectOwner, projectName, _study.id] : undefined, fetchJob, {
|
48845
48845
|
revalidateOnFocus: true,
|
48846
|
+
refreshWhenHidden: true,
|
48846
48847
|
refreshInterval: stopRefresh ? undefined : interval,
|
48847
48848
|
fallbackData: _study,
|
48848
48849
|
errorRetryCount: 3,
|
@@ -49153,6 +49154,7 @@ var RunCard = function (_a) {
|
|
49153
49154
|
*/
|
49154
49155
|
var _9 = useSWR(authUser && _run ? (!localRun ? [projectOwner, projectName, _run.id] : [_run.id, _run['subfolder']]) : undefined, localRun ? fetchLocalRun : fetchRun, {
|
49155
49156
|
revalidateOnFocus: true,
|
49157
|
+
refreshWhenHidden: true,
|
49156
49158
|
refreshInterval: stopRefresh ? undefined : interval,
|
49157
49159
|
fallbackData: localRun ? undefined : _run,
|
49158
49160
|
errorRetryCount: 3,
|
@@ -49273,6 +49275,7 @@ var RunCard = function (_a) {
|
|
49273
49275
|
window.location.href = "/".concat(projectOwner, "/projects/").concat(projectName, "/studies/").concat(study.id, "/runs/").concat(run.id);
|
49274
49276
|
}
|
49275
49277
|
else {
|
49278
|
+
// No studyName. Only completed run are visible in the list
|
49276
49279
|
window.location.href = "/".concat(projectOwner, "/projects/").concat(projectName, "/localStudies/").concat(localStudyURLname, "/?path=").concat(_run.id, "&subfolder=").concat(_run['subfolder']);
|
49277
49280
|
}
|
49278
49281
|
} },
|