mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
Fix account group broadcast reference
This commit is contained in:
parent
10dd9e061a
commit
a565343102
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ class Account::SyncCompleteEvent
|
|||
# The sidebar will show the account in both its classification tab and the "all" tab,
|
||||
# so we need to broadcast to both.
|
||||
def account_group_ids
|
||||
return [] unless account_group.present?
|
||||
|
||||
id = account_group.id
|
||||
[ id, "#{account_group.classification}_#{id}" ]
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue