Update index method in AccountsController to fetch all accounts (#1491)

* Fetch all manual accounts, regardless of their active status
* Fetch all Plaid items, regardless of their active status
This commit is contained in:
Arsen Shkrumelyak
2024-11-22 20:28:36 +00:00
committed by GitHub
parent 1c2f075053
commit c1034e6edf

View File

@@ -4,8 +4,8 @@ class AccountsController < ApplicationController
before_action :set_account, only: %i[sync]
def index
@manual_accounts = Current.family.accounts.manual.active.alphabetically
@plaid_items = Current.family.plaid_items.active.ordered
@manual_accounts = Current.family.accounts.manual.alphabetically
@plaid_items = Current.family.plaid_items.ordered
end
def summary