1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-03 04:25:21 +02:00

Fix missing sync_all_button partial (#1172)

* Fix missing sync_all_button partial

* Add missing translation

* Bring back partial

* Unify button text translation

* Add test
This commit is contained in:
Tony Vincent 2024-09-13 17:19:20 +02:00 committed by GitHub
parent b9341ac302
commit 277e4476d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 15 additions and 7 deletions

View file

@ -18,10 +18,7 @@
</div>
<% end %>
<%= button_to sync_all_accounts_path, class: "btn btn--light flex items-center gap-2", title: "Sync All" do %>
<%= lucide_icon "refresh-cw", class: "w-5 h-5" %>
<span><%= t(".sync_all") %></span>
<% end %>
<%= render "sync_all_button" %>
<%= link_to new_account_path,
data: { turbo_frame: "modal" },