From ed2944b63343798a83bb50d5959159fc452e1123 Mon Sep 17 00:00:00 2001 From: Flipez Date: Sat, 21 Sep 2019 18:35:06 +0200 Subject: [PATCH] unify repos in each type Signed-off-by: Flipez --- app/views/dashboard/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/dashboard/show.html.haml b/app/views/dashboard/show.html.haml index 173ece67..76c5c61a 100644 --- a/app/views/dashboard/show.html.haml +++ b/app/views/dashboard/show.html.haml @@ -17,7 +17,7 @@ %span{style: 'float: right;', data: { tooltip: I18n.t("repo_states.#{type}.description"), position: 'left center'}} %i.icon.question.mark.circle .content - - repos.each do |repo| + - repos.uniq.each do |repo| = link_to(repo, repository_path(repo), class: 'ui basic label') - else .ui.error.message