pollination-react-io 1.24.4 → 1.24.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 +4 -2
- package/build/index.esm.js.map +1 -1
- package/build/index.js +4 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -38012,6 +38012,9 @@ var useCreateStudy = function (accountName, projectName, client) {
|
|
|
38012
38012
|
// then save it to the users machine and provide
|
|
38013
38013
|
// the name to the jobInfo object
|
|
38014
38014
|
if (typeof value.key === 'string') {
|
|
38015
|
+
if (value.name == null) {
|
|
38016
|
+
reject("'name' attribute of ".concat(value.key, " is null. Job will be invalid."));
|
|
38017
|
+
}
|
|
38015
38018
|
downloadArtifact(value.key)
|
|
38016
38019
|
.then(function (url) {
|
|
38017
38020
|
fetch(url)
|
|
@@ -38118,8 +38121,7 @@ var useCreateStudy = function (accountName, projectName, client) {
|
|
|
38118
38121
|
arguments: [jobArguments]
|
|
38119
38122
|
});
|
|
38120
38123
|
}).catch(function (err) {
|
|
38121
|
-
|
|
38122
|
-
console.error(data.detail);
|
|
38124
|
+
console.error(err);
|
|
38123
38125
|
})];
|
|
38124
38126
|
case 1:
|
|
38125
38127
|
job = _c.sent();
|