X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4e900962d49cc0fe7832854c2eee0c45bfabba38..4bd75291b6e3c6ae2a5c7efd17ee27dfd844f4e0:/apps/workbench/app/views/application/_selection_checkbox.html.erb diff --git a/apps/workbench/app/views/application/_selection_checkbox.html.erb b/apps/workbench/app/views/application/_selection_checkbox.html.erb index 25aef94cdb..de880dd8c6 100644 --- a/apps/workbench/app/views/application/_selection_checkbox.html.erb +++ b/apps/workbench/app/views/application/_selection_checkbox.html.erb @@ -1,4 +1,4 @@ -<%if object and (object.class.goes_in_projects? or (object.is_a?(Link) and ArvadosBase::resource_class_for_uuid(object.head_uuid).to_s == 'Collection')) %> +<%if object and object.uuid and (object.class.goes_in_projects? or (object.is_a?(Link) and ArvadosBase::resource_class_for_uuid(object.head_uuid).to_s == 'Collection')) %> <% fn = if defined? friendly_name friendly_name else