mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
Refresh account on update (#476)
* Refresh account on update
* 🐛 Replace turbo frame on create valuation
This avoids the frame reloading it's src when refreshing.
* Change Action Cable adapater to Postgres
This commit is contained in:
parent
7e324f1b53
commit
e767aca37f
5 changed files with 5 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
<% if is_syncing %>
|
||||
<div class="my-4 px-8 py-4 rounded-lg bg-yellow-500/10 flex items-center justify-between">
|
||||
<p class="text-gray-900 text-sm">
|
||||
Syncing your account balances. Please reload the page to see updated data.
|
||||
Syncing your account balances.
|
||||
</p>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<%= turbo_stream_from @account %>
|
||||
<% balance_trend_styles = @balance_series.nil? ? {} : trend_styles(@balance_series[:trend]) %>
|
||||
<div class="space-y-4">
|
||||
<div class="flex justify-between items-center">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue