Hiding invisible hubs in producer modal

This commit is contained in:
Maikel Linke
2015-08-28 10:49:36 +10:00
parent 5d34b711e9
commit 1a96ef88bc

View File

@@ -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"}