X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/de67953481cbedc480822f97cdfe5eb6dffcf0d3..1f2a1c4d4e12109291578a70e1a1316960343eeb:/apps/workbench/app/views/pipeline_instances/_running_component.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/_running_component.html.erb b/apps/workbench/app/views/pipeline_instances/_running_component.html.erb index 80210c4360..2ab8da1f4c 100644 --- a/apps/workbench/app/views/pipeline_instances/_running_component.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_running_component.html.erb @@ -99,8 +99,7 @@ <% # link to repo tree/file only if the repo is readable # and the commit is a sha1... repo = - (not Repository.disable_repository_browsing? and - /^[0-9a-f]{40}$/ =~ current_component[:script_version] and + (/^[0-9a-f]{40}$/ =~ current_component[:script_version] and Repository.where(name: current_component[:repository]).first) # ...and the api server provides an http:// or https:// url