We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01e6266 commit d53b9a8Copy full SHA for d53b9a8
services/web/client/source/class/osparc/file/FilePicker.js
@@ -80,12 +80,12 @@ qx.Class.define("osparc.file.FilePicker", {
80
81
isOutputFromStore: function(outputs) {
82
const outFileValue = this.getOutput(outputs);
83
- return (typeof outFileValue === "object" && "path" in outFileValue);
+ return (outFileValue && typeof outFileValue === "object" && "path" in outFileValue);
84
},
85
86
isOutputDownloadLink: function(outputs) {
87
88
- return (typeof outFileValue === "object" && "downloadLink" in outFileValue);
+ return (outFileValue && typeof outFileValue === "object" && "downloadLink" in outFileValue);
89
90
91
extractLabelFromLink: function(outputs) {
0 commit comments