From c1034e6edf1b06d1e6e2db8467024557bcd7d888 Mon Sep 17 00:00:00 2001 From: Arsen Shkrumelyak Date: Fri, 22 Nov 2024 20:28:36 +0000 Subject: [PATCH] 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 --- app/controllers/accounts_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index 93a473880c6..56c29d26a4c 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -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