mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-18 04:39:14 +00:00
Remove "ujs-navigate": "false" from link
It somehow was causing a double loading of the page meaning flash messages were lost. I suspect it's related to turbo/turbo link, but I am not sure.
This commit is contained in:
@@ -19,4 +19,4 @@
|
||||
%td.actions
|
||||
- payment.actions.each do |action|
|
||||
= link_to_with_icon "icon-#{action}", Spree.t(action), fire_admin_order_payment_path(@order, payment, e: action),
|
||||
no_text: true, data: { method: :put, "ujs-navigate": "false", action: action, disable_with: "" }
|
||||
no_text: true, data: { method: :put, action: action, disable_with: "" }
|
||||
|
||||
Reference in New Issue
Block a user