Merge branch 'master' into 5675-project-subprojects-in-anonymous-view
[arvados.git] / apps / workbench / app / helpers / application_helper.rb
index e105769beb303dc4a0ce5cb02539b16bff8d6026..d1ee6cba1c9bcded45b229e7b6c83e7630a01b1d 100644 (file)
@@ -368,7 +368,7 @@ module ApplicationHelper
            success: 'page-refresh'
          }.to_json,
         })
-      is_readable_input = object_readable attrvalue unless attrvalue.andand.empty?
+      is_readable_input = attrvalue.present? and object_readable attrvalue, Collection
       return content_tag('div', :class => 'input-group') do
         html = text_field_tag(dn, display_value,
                               :class =>