pollination-react-io 1.73.3 → 1.73.5
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 +6 -4
- package/build/index.esm.js.map +1 -1
- package/build/index.js +6 -4
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
@@ -48816,7 +48816,7 @@ var StudyCard = function (_a) {
|
|
48816
48816
|
* From job to run
|
48817
48817
|
*/
|
48818
48818
|
var _12 = useSWR(authUser && _study ? [projectOwner, projectName, _study.id] : undefined, fetchJob, {
|
48819
|
-
revalidateOnFocus:
|
48819
|
+
revalidateOnFocus: true,
|
48820
48820
|
refreshInterval: stopRefresh ? undefined : interval,
|
48821
48821
|
fallbackData: _study,
|
48822
48822
|
errorRetryCount: 3,
|
@@ -49126,7 +49126,7 @@ var RunCard = function (_a) {
|
|
49126
49126
|
* From run and stop when it is done
|
49127
49127
|
*/
|
49128
49128
|
var _9 = useSWR(authUser && _run ? (!localRun ? [projectOwner, projectName, _run.id] : [_run.id, _run['subfolder']]) : undefined, localRun ? fetchLocalRun : fetchRun, {
|
49129
|
-
revalidateOnFocus:
|
49129
|
+
revalidateOnFocus: true,
|
49130
49130
|
refreshInterval: stopRefresh ? undefined : interval,
|
49131
49131
|
fallbackData: localRun ? undefined : _run,
|
49132
49132
|
errorRetryCount: 3,
|
@@ -49818,18 +49818,20 @@ var FileCard = function (_a) {
|
|
49818
49818
|
setIsInactive(true);
|
49819
49819
|
setCurrFile(undefined);
|
49820
49820
|
setCADintegration(undefined);
|
49821
|
+
setIsLoading(false);
|
49821
49822
|
return;
|
49822
49823
|
}
|
49823
49824
|
res.blob()
|
49824
49825
|
.then(function (blob) {
|
49825
49826
|
setCurrFile(blob);
|
49826
49827
|
setCADintegration(blob);
|
49828
|
+
setIsLoading(false);
|
49827
49829
|
});
|
49828
49830
|
})
|
49829
49831
|
.catch(function (err) {
|
49830
49832
|
console.error(err);
|
49831
|
-
|
49832
|
-
|
49833
|
+
setIsLoading(false);
|
49834
|
+
});
|
49833
49835
|
};
|
49834
49836
|
var extension = useMemo(function () {
|
49835
49837
|
if (!path)
|