Skip to content

Commit 297670a

Browse files
author
Josh Waldrep
committed
Extend unlinked account check to include "Investment" type
1 parent 3f3c62c commit 297670a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/accounts/_account.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<%= icon("pencil-line", size: "sm") %>
3434
<% end %>
3535

36-
<% if !account.linked? && (account.accountable_type == "Depository" || account.accountable_type == "CreditCard") %>
36+
<% if !account.linked? && ["Depository", "CreditCard", "Investment"].include?(account.accountable_type) %>
3737
<%= link_to select_provider_account_path(account),
3838
data: { turbo_frame: :modal },
3939
class: "group-hover/account:flex hidden hover:opacity-80 items-center justify-center gap-1",

0 commit comments

Comments
 (0)