mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-06 04:20:59 +08:00
fix: exchange edit modal now shows account data correctly
Fixed ExchangeConfigModal to receive allExchanges (user's configured accounts) instead of supportedExchanges (templates only), so editing an exchange now properly displays account name and other non-sensitive information.
This commit is contained in:
@@ -1371,7 +1371,7 @@ export function AITradersPage({ onTraderSelect }: AITradersPageProps) {
|
||||
{/* Exchange Configuration Modal */}
|
||||
{showExchangeModal && (
|
||||
<ExchangeConfigModal
|
||||
allExchanges={supportedExchanges}
|
||||
allExchanges={allExchanges}
|
||||
editingExchangeId={editingExchange}
|
||||
onSave={handleSaveExchangeConfig}
|
||||
onDelete={handleDeleteExchangeConfig}
|
||||
|
||||
Reference in New Issue
Block a user