Skip to content

Commit

Permalink
Merge pull request #6955 from dannon/wf_param_fix
Browse files Browse the repository at this point in the history
[18.09] Fix for workflow parameter collection in workflows view.
  • Loading branch information
bgruening committed Nov 4, 2018
2 parents 357e2f3 + 18644f9 commit 3d91738
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions client/galaxy/scripts/mvc/workflow/workflow-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -734,9 +734,11 @@ export default Backbone.View.extend({
$.each(node.post_job_actions, (k, pja) => {
if (pja.action_arguments) {
$.each(pja.action_arguments, (k, action_argument) => {
var arg_matches = action_argument.match(parameter_re);
if (arg_matches) {
matches = matches.concat(arg_matches);
if (typeof action_argument === "string") {
let arg_matches = action_argument.match(parameter_re);
if (arg_matches) {
matches = matches.concat(arg_matches);
}
}
});
}
Expand Down

0 comments on commit 3d91738

Please sign in to comment.