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.esm.js
CHANGED
@@ -49652,7 +49652,11 @@ var RunContent = function (_a) {
|
|
49652
49652
|
var _d = useState([]), currParams = _d[0], setCurrParams = _d[1];
|
49653
49653
|
var _e = useState([]), currFiles = _e[0], setCurrFiles = _e[1];
|
49654
49654
|
var _f = useState([]), currFolders = _f[0], setCurrFolders = _f[1];
|
49655
|
-
|
49655
|
+
var _g = useState(false), reloader = _g[0], setReloader = _g[1];
|
49656
|
+
useEffect(function () {
|
49657
|
+
setCurrData(inputData);
|
49658
|
+
!isCloud && setReloader(function (prev) { return !prev; });
|
49659
|
+
}, [inputData]);
|
49656
49660
|
useEffect(function () {
|
49657
49661
|
if (!currData || currData.length == 0)
|
49658
49662
|
return;
|
@@ -49680,7 +49684,7 @@ var RunContent = function (_a) {
|
|
49680
49684
|
setCurrParams(params);
|
49681
49685
|
setCurrFiles(files);
|
49682
49686
|
setCurrFolders(folders);
|
49683
|
-
}, [currData]);
|
49687
|
+
}, [currData, reloader]);
|
49684
49688
|
// const checkIfValidUUID = (str: string): boolean => {
|
49685
49689
|
// 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
|
49686
49690
|
// return regexExp.test(str)
|
@@ -49738,7 +49742,6 @@ var RunDetails = function (_a) {
|
|
49738
49742
|
var outputs = [];
|
49739
49743
|
var recipeInputs = [];
|
49740
49744
|
var extraInputs = [];
|
49741
|
-
// If cloud
|
49742
49745
|
if (run.status) {
|
49743
49746
|
run.status.inputs.forEach(function (i) {
|
49744
49747
|
if (recipeInputNames.includes(i.name)) {
|