From 7ff97794f41601d8a669407a17e085412cdc6643 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Wed, 31 Aug 2022 15:38:05 +0530 Subject: [PATCH] fix: encode thumbnail URL If it contains space the URL won't load (cherry picked from commit 30039e8e624f341f1f32b845094d1a1e96e29799) --- erpnext/e_commerce/product_ui/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/e_commerce/product_ui/search.js b/erpnext/e_commerce/product_ui/search.js index 45bed83aa0f..ff41431f6fb 100644 --- a/erpnext/e_commerce/product_ui/search.js +++ b/erpnext/e_commerce/product_ui/search.js @@ -221,7 +221,7 @@ erpnext.ProductSearch = class { let thumbnail = res.thumbnail || "/assets/erpnext/images/ui-states/cart-empty-state.png"; html += `