diff --git a/front-ui/app/components/browsing/bySection.js b/front-ui/app/components/browsing/bySection.js index 6405fdd..34b4e9b 100644 --- a/front-ui/app/components/browsing/bySection.js +++ b/front-ui/app/components/browsing/bySection.js @@ -18,6 +18,7 @@ var BySection = React.createClass({ }; }, render : function() { + var s ={ float: 'left'}; return (
@@ -29,6 +30,18 @@ var BySection = React.createClass({
Kategorije
+
+ {(this.state.section.get('categories') || []).map(function(category){ + return ( +
+ + +
{category.name}
+ +
+ ) + })} +
)