1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-05 13:35:21 +02:00

Enable syncing all accounts in one click (#948)

* Enable syncing all accounts on one click

* Remove argument to sync_later method call

* Add partial for sync all accounts button

* Redirect back if possible when syncing all accounts
This commit is contained in:
Tony Vincent 2024-07-05 13:36:18 +02:00 committed by GitHub
parent 48092cb704
commit cc6bf6e961
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,3 @@
<%= button_to sync_all_accounts_path, method: :post, class: "rounded-lg bg-gray-900 text-white flex items-center gap-1 justify-center hover:bg-gray-700 px-3 py-2", title: "Sync All" do %>
<%= lucide_icon "refresh-cw", class: "w-5 h-5" %>
<% end %>