1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-08 06:55:21 +02:00

fix(simplefin): Disabled accounts are now included and hides transaction uploads

This commit is contained in:
Cameron Roudebush 2025-05-17 11:14:48 -04:00
parent 72c6840f5a
commit d78724b9a8
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
<%= render MenuComponent.new(testid: "account-menu") do |menu| %>
<% menu.with_item(variant: "link", text: "Edit", href: edit_account_path(account), icon: "pencil-line", data: { turbo_frame: :modal }) %>
<% unless account.crypto? %>
<% unless (account.crypto? || account.simple_fin_account) %>
<% menu.with_item(
variant: "link",
text: "Import transactions",

View file

@ -14,7 +14,7 @@
</div>
<ul role="list" class="divide-y divide-gray-200">
<% simple_fin_item.accounts.includes(:accountable, :logo_attachment).active.alphabetically.each do |account| %>
<% simple_fin_item.accounts.includes(:accountable, :logo_attachment).alphabetically.each do |account| %>
<%= render "accounts/account", account: account %>
<% end %>
</ul>