diff --git a/app/reflexes/admin/orders_reflex.rb b/app/reflexes/admin/orders_reflex.rb index fe59036fb81..765438d7cc3 100644 --- a/app/reflexes/admin/orders_reflex.rb +++ b/app/reflexes/admin/orders_reflex.rb @@ -8,13 +8,8 @@ def capture payment_capture = OrderCaptureService.new(@order) if payment_capture.call - cable_ready.inner_html( - selector: dom_id(@order), - html: render(partial: "spree/admin/orders/table_row", - locals: { order: @order.reload, success: true }) - ).broadcast - - morph :nothing + morph dom_id(@order), render(partial: "spree/admin/orders/table_row", + locals: { order: @order.reload, success: true }) else flash[:error] = payment_capture.gateway_error || I18n.t(:payment_processing_failed) morph_admin_flashes