mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Fix selected account and Transaction/Transfer Tabs changes (#1220)
* Fix Dialog selected attribute had no effect * Fix New Transaction/Transfer Dialog * Update transfers_controller.rb --------- Co-authored-by: sokiee <sokysrm@gmail.com>
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<%= link_to new_transfer_path,
|
||||
<%= link_to new_transfer_path(from_account_id: account_id),
|
||||
data: { turbo_frame: :modal },
|
||||
class: "flex-1 min-w-0 flex px-4 py-1 rounded-lg items-center space-x-2 justify-center text-sm #{active_tab == 'transfer' ? 'bg-container text-primary shadow-sm' : 'hover:bg-container text-subdued hover:text-primary hover:shadow-sm'}" do %>
|
||||
<%= icon "arrow-right-left" %>
|
||||
|
||||
Reference in New Issue
Block a user