fixed exchange mappings and added visible column

This commit is contained in:
Boki 2025-06-18 09:29:20 -04:00
parent 4f4f615a62
commit 0bec1eca83
5 changed files with 66 additions and 7 deletions

View file

@ -49,7 +49,7 @@ export function ExchangesTable() {
const handleDeleteExchange = useCallback(async (exchangeId: string, exchangeName: string) => {
if (confirm(`Are you sure you want to delete "${exchangeName}"? This will hide the exchange and make all its provider mappings available for remapping.`)) {
const success = await updateExchange(exchangeId, { active: false });
const success = await updateExchange(exchangeId, { visible: false });
if (success) {
// Optionally refresh the list or show a success message
refetch();