pollination-react-io 1.62.2 → 1.62.4
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 -3
- package/build/index.esm.js.map +1 -1
- package/build/index.js +6 -3
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
@@ -49678,7 +49678,11 @@ var RunContent = function (_a) {
|
|
49678
49678
|
var _d = React.useState([]), currParams = _d[0], setCurrParams = _d[1];
|
49679
49679
|
var _e = React.useState([]), currFiles = _e[0], setCurrFiles = _e[1];
|
49680
49680
|
var _f = React.useState([]), currFolders = _f[0], setCurrFolders = _f[1];
|
49681
|
-
React.
|
49681
|
+
var _g = React.useState(false), reloader = _g[0], setReloader = _g[1];
|
49682
|
+
React.useEffect(function () {
|
49683
|
+
setCurrData(inputData);
|
49684
|
+
!isCloud && setReloader(function (prev) { return !prev; });
|
49685
|
+
}, [inputData]);
|
49682
49686
|
React.useEffect(function () {
|
49683
49687
|
if (!currData || currData.length == 0)
|
49684
49688
|
return;
|
@@ -49706,7 +49710,7 @@ var RunContent = function (_a) {
|
|
49706
49710
|
setCurrParams(params);
|
49707
49711
|
setCurrFiles(files);
|
49708
49712
|
setCurrFolders(folders);
|
49709
|
-
}, [currData]);
|
49713
|
+
}, [currData, reloader]);
|
49710
49714
|
// const checkIfValidUUID = (str: string): boolean => {
|
49711
49715
|
// const regexExp = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/gi
|
49712
49716
|
// return regexExp.test(str)
|
@@ -49764,7 +49768,6 @@ var RunDetails = function (_a) {
|
|
49764
49768
|
var outputs = [];
|
49765
49769
|
var recipeInputs = [];
|
49766
49770
|
var extraInputs = [];
|
49767
|
-
// If cloud
|
49768
49771
|
if (run.status) {
|
49769
49772
|
run.status.inputs.forEach(function (i) {
|
49770
49773
|
if (recipeInputNames.includes(i.name)) {
|