Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

fix: category update sync (#1720)

Jestin Palamuttam8256d116ddd3
diff --git a/app/views/categories/_form.html.erb b/app/views/categories/_form.html.erb
index d0cda832..8927c0bf 100644
--- a/app/views/categories/_form.html.erb
+++ b/app/views/categories/_form.html.erb
@@ -1,7 +1,7 @@
<%# locals: (category:, categories:) %>
<div data-controller="color-avatar">
- <%= styled_form_with model: category, class: "space-y-4" do |f| %>
+ <%= styled_form_with model: category, class: "space-y-4", data: { turbo_frame: :_top } do |f| %>
<section class="space-y-4">
<div class="w-fit m-auto">
<%= render partial: "shared/color_avatar", locals: { name: category.name, color: category.color } %>