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:
Yacine Kanzari
2026-03-24 20:36:03 +01:00
committed by Juan José Mata
parent 053d1c0721
commit 334ffc0df4
4 changed files with 9 additions and 3 deletions

View File

@@ -35,6 +35,7 @@ class TransfersController < ApplicationController
format.turbo_stream { stream_redirect_back_or_to transactions_path, notice: success_message }
end
else
@from_account_id = transfer_params[:from_account_id]
render :new, status: :unprocessable_entity
end
end