The personal finance app for everyone (by everyone)
Ruby
Disable Turbo prefetch on dashboard outflow category links
Clauded9acf19038a0
diff --git a/app/views/pages/dashboard/_outflows_donut.html.erb b/app/views/pages/dashboard/_outflows_donut.html.erbindex 0787c418ca..5079dcc9d0 100644--- a/app/views/pages/dashboard/_outflows_donut.html.erb+++ b/app/views/pages/dashboard/_outflows_donut.html.erb@@ -104,6 +104,7 @@class: "flex items-center justify-between mx-3 p-3 rounded-lg cursor-pointer group gap-3",data: {turbo_frame: "_top",+ turbo_prefetch: false,category_id: category[:id],action: "mouseenter->donut-chart#highlightSegment mouseleave->donut-chart#unhighlightSegment"} do %>