mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
Lazy load Plaid link tokens, fix link issues on broadcast (#2302)
* Lazy load Plaid link tokens, fix link issues on broadcast * Fix alert styles
This commit is contained in:
parent
c701755b02
commit
d21e385962
19 changed files with 155 additions and 123 deletions
8
app/views/plaid_items/edit.html.erb
Normal file
8
app/views/plaid_items/edit.html.erb
Normal file
|
@ -0,0 +1,8 @@
|
|||
<%# We render this in the empty modal frame so if Plaid flow is closed, user stays on same page they were on %>
|
||||
<%= turbo_frame_tag "modal" do %>
|
||||
<%= render "plaid_items/auto_link_opener",
|
||||
link_token: @link_token,
|
||||
region: @plaid_item.plaid_region,
|
||||
item_id: @plaid_item.id,
|
||||
is_update: true %>
|
||||
<% end %>
|
Loading…
Add table
Add a link
Reference in a new issue