From 55ac816a87898d23427fdace10c1cd757dfeba5b Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 23 May 2024 11:50:15 +1000 Subject: [PATCH] Show success message Phew, that was really easy. And now the existing feature spec still Just Works. --- app/views/spree/admin/images/update.turbo_stream.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/spree/admin/images/update.turbo_stream.haml b/app/views/spree/admin/images/update.turbo_stream.haml index 88638b34039..169bf5c89ff 100644 --- a/app/views/spree/admin/images/update.turbo_stream.haml +++ b/app/views/spree/admin/images/update.turbo_stream.haml @@ -1,2 +1,3 @@ = turbo_stream.update "image-#{@product.id}" do = render partial: "admin/products_v3/product_image", locals: { product: @product } + = render partial: "admin/shared/flashes", locals: { flashes: flash } if defined? flash