pollination-react-io 1.62.1 → 1.62.3
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 +8 -4
- package/build/index.esm.js.map +1 -1
- package/build/index.js +8 -4
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -49581,7 +49581,8 @@ var FileCard = function (_a) {
|
|
|
49581
49581
|
.catch(function () { return onClicked({ label: label, path: path, file: undefined, description: description, runId: runId }); });
|
|
49582
49582
|
}
|
|
49583
49583
|
else {
|
|
49584
|
-
|
|
49584
|
+
// Some inputs has path == null
|
|
49585
|
+
if (!isPanel || !path) {
|
|
49585
49586
|
setIsInactive(true);
|
|
49586
49587
|
setCurrFile(undefined);
|
|
49587
49588
|
setCADintegration(undefined);
|
|
@@ -49677,7 +49678,11 @@ var RunContent = function (_a) {
|
|
|
49677
49678
|
var _d = React.useState([]), currParams = _d[0], setCurrParams = _d[1];
|
|
49678
49679
|
var _e = React.useState([]), currFiles = _e[0], setCurrFiles = _e[1];
|
|
49679
49680
|
var _f = React.useState([]), currFolders = _f[0], setCurrFolders = _f[1];
|
|
49680
|
-
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]);
|
|
49681
49686
|
React.useEffect(function () {
|
|
49682
49687
|
if (!currData || currData.length == 0)
|
|
49683
49688
|
return;
|
|
@@ -49705,7 +49710,7 @@ var RunContent = function (_a) {
|
|
|
49705
49710
|
setCurrParams(params);
|
|
49706
49711
|
setCurrFiles(files);
|
|
49707
49712
|
setCurrFolders(folders);
|
|
49708
|
-
}, [currData]);
|
|
49713
|
+
}, [currData, reloader]);
|
|
49709
49714
|
// const checkIfValidUUID = (str: string): boolean => {
|
|
49710
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
|
|
49711
49716
|
// return regexExp.test(str)
|
|
@@ -49763,7 +49768,6 @@ var RunDetails = function (_a) {
|
|
|
49763
49768
|
var outputs = [];
|
|
49764
49769
|
var recipeInputs = [];
|
|
49765
49770
|
var extraInputs = [];
|
|
49766
|
-
// If cloud
|
|
49767
49771
|
if (run.status) {
|
|
49768
49772
|
run.status.inputs.forEach(function (i) {
|
|
49769
49773
|
if (recipeInputNames.includes(i.name)) {
|