mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
Add post-sync hook (#1479)
This commit is contained in:
parent
d1b506d16c
commit
e641cfccd4
4 changed files with 21 additions and 14 deletions
|
@ -32,6 +32,10 @@ class Family < ApplicationRecord
|
|||
end
|
||||
end
|
||||
|
||||
def post_sync
|
||||
broadcast_refresh
|
||||
end
|
||||
|
||||
def syncing?
|
||||
super || accounts.manual.any?(&:syncing?) || plaid_items.any?(&:syncing?)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue