From 1e207fefd152eb34167dc7e619b0730a7c69fe6d Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Tue, 29 Jul 2014 12:59:43 +1000 Subject: [PATCH] Fixing the product modal so it renders either an actual image or nothing --- app/assets/javascripts/templates/product_modal.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/templates/product_modal.html.haml b/app/assets/javascripts/templates/product_modal.html.haml index 1f0c1a7564..76a57d40cd 100644 --- a/app/assets/javascripts/templates/product_modal.html.haml +++ b/app/assets/javascripts/templates/product_modal.html.haml @@ -1,6 +1,6 @@ .row .columns.small-12.large-6 - %img.product-img{"ng-src" => "{{product.master.images[0].large_url}}", "ng-if" => "product.master.images[0]"} + %img.product-img{"ng-src" => "{{product.images[0].large_url}}", "ng-if" => "product.images[0]"} .columns.small-12.large-6.product-header %h2 %render-svg{path: "{{product.primary_taxon.icon}}"}