From 63549b3dcaac17f9404be32437b3c8c0c330b13c Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 7 Mar 2024 12:07:35 +1100 Subject: [PATCH] Add comment I still don't know why the morph method doesn't work in this context.. --- app/reflexes/products_reflex.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/reflexes/products_reflex.rb b/app/reflexes/products_reflex.rb index dd56972517..b312c74205 100644 --- a/app/reflexes/products_reflex.rb +++ b/app/reflexes/products_reflex.rb @@ -136,9 +136,8 @@ class ProductsReflex < ApplicationReflex ) morph :nothing - # dunno why this doesn't work. - # morph "#products-form", render(partial: "admin/products_v3/table", - # locals: { products: products }) + # dunno why this doesn't work. The HTML stops after the first `` element, wtf?! + # morph "#products-form", render(partial: "admin/products_v3/table", locals:) end def producers