[arvados] created: 2.1.0-2818-gc6b4cfe67
git repository hosting
git at public.arvados.org
Thu Aug 4 14:11:52 UTC 2022
at c6b4cfe6758ff5bc4fbc2ca72c60d9c8485f7267 (commit)
commit c6b4cfe6758ff5bc4fbc2ca72c60d9c8485f7267
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Thu Aug 4 10:11:35 2022 -0400
19321: Use the correct enum value for cwl inputs
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/apps/workbench/app/helpers/application_helper.rb b/apps/workbench/app/helpers/application_helper.rb
index f22ab5016..697c469b5 100644
--- a/apps/workbench/app/helpers/application_helper.rb
+++ b/apps/workbench/app/helpers/application_helper.rb
@@ -564,7 +564,7 @@ module ApplicationHelper
"data-emptytext" => "none",
"data-placement" => "bottom",
"data-type" => "select",
- "data-source" => (opt_empty_selection + primary_type[:symbols].map {|i| {:value => i, :text => i} }).to_json,
+ "data-source" => (opt_empty_selection + primary_type[:symbols].map {|i| {:value => cwl_shortname(i), :text => cwl_shortname(i)} }).to_json,
"data-url" => url_for(action: "update", id: object.uuid, controller: object.class.to_s.pluralize.underscore, merge: true),
"data-title" => "Set value for #{cwl_shortname(input_schema[:id])}",
"data-name" => dn,
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list