X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4d0d27f83183b6659a570ae1fc07f95aefe0b23e..b4b8e120c8ac43a16513079e2ae9f46bcdb9c35d:/apps/workbench/app/views/container_requests/_show_recent_rows.html.erb diff --git a/apps/workbench/app/views/container_requests/_show_recent_rows.html.erb b/apps/workbench/app/views/container_requests/_show_recent_rows.html.erb index 6caf6d5630..0212162fcc 100644 --- a/apps/workbench/app/views/container_requests/_show_recent_rows.html.erb +++ b/apps/workbench/app/views/container_requests/_show_recent_rows.html.erb @@ -1,3 +1,7 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <% containers = @objects.map(&:container_uuid).compact.uniq preload_objects_for_dataclass(Container, containers) if containers.any? @@ -20,7 +24,7 @@ <%= wu.state_label %> - <%= link_to_if_arvados_object obj, friendly_name: true, link_text: if !obj.name.empty? then obj.name else obj.uuid end %> + <%= link_to_if_arvados_object obj, friendly_name: true, link_text: if obj.name && !obj.name.empty? then obj.name else obj.uuid end %> <%= obj.description || '' %>