Merge branch 'master' into 4717-read-only-keep-services-flag
[arvados.git] / apps / workbench / app / views / pipeline_instances / _running_component.html.erb
index 80210c43600bdccc1c2c3d9343bf998760f60e1b..2ab8da1f4ce2d258d8f098c5c78175d6fbcdf713 100644 (file)
@@ -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