fix: no title if undefined;

This commit is contained in:
tmshv committed 2015-07-08 23:07:47 +03:00
1 parent 6e32adce5d
commit 0e67001b26
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@
<img ng-src="{{product.content.big.url}}" alt=""/>
<div class="product-info">
<div>
<p class="title">{{product.title | removeNewline}}</p>
<p ng-show="product.title" class="title">{{product.title | removeNewline}}</p>
<p>{{product.author}}</p>
<p ng-show="product.authorAge">{{product.authorAge}} лет</p>
</div>