The personal finance app for everyone
Fix account group broadcast reference
Zach Gollwitzera565343102cc
diff --git a/app/models/account/sync_complete_event.rb b/app/models/account/sync_complete_event.rbindex 2a64ab80..129e64a3 100644--- a/app/models/account/sync_complete_event.rb+++ b/app/models/account/sync_complete_event.rb@@ -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