diff --git a/app/views/modals/_product.html.haml b/app/views/modals/_product.html.haml index 70137ba987..52a7bc7f1f 100644 --- a/app/views/modals/_product.html.haml +++ b/app/views/modals/_product.html.haml @@ -2,13 +2,11 @@ .row .columns.small-12.large-6 - %img.product-img{"ng-src" => "{{product.master.images[0].large_url}}"} + %img.product-img{"ng-src" => "{{product.master.images[0].large_url}}", "ng-if" => "product.master.images[0]"} .columns.small-12.large-6 %h2 %img{"ng-src" => "{{product.primary_taxon.icon}}"} {{product.name}} %p {{product.description}} - / %pre - / {{ product | json }} %a.close-reveal-modal{"ng-click" => "$close()"} × - \ No newline at end of file +