Fix enterprises no results for producers

This commit is contained in:
Rohan Mitchell
2015-07-08 11:21:16 +10:00
parent 7d340d5084
commit dcf98ee29f

View File

@@ -1,4 +1,5 @@
%producer.row{"ng-show" => "#{enterprises || 'filteredEnterprises'}.length == 0"}
- enterprises ||= 'filteredEnterprises'
%producer.row{"ng-show" => "#{enterprises}.length == 0"}
%p.no-results
Sorry, no results found for
%strong {{query}}.