From 1a96ef88bcd9be69f8adfe1bdb48f92ba8bfc8be Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 28 Aug 2015 10:49:36 +1000 Subject: [PATCH] Hiding invisible hubs in producer modal --- app/views/producers/_fat.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/producers/_fat.html.haml b/app/views/producers/_fat.html.haml index 6083250780..06d73666af 100644 --- a/app/views/producers/_fat.html.haml +++ b/app/views/producers/_fat.html.haml @@ -68,7 +68,7 @@   .row.cta-container .columns.small-12 - %a.cta-hub{"ng-repeat" => "hub in producer.hubs | orderBy:'-active'", + %a.cta-hub{"ng-repeat" => "hub in producer.hubs | visible | orderBy:'-active'", "bo-href" => "hub.path", "ofn-change-hub" => "hub", "bo-class" => "{primary: hub.active, secondary: !hub.active}"} %i.ofn-i_033-open-sign{"bo-if" => "hub.active"}