fixed exchange mappings and added visible column
This commit is contained in:
parent
4f4f615a62
commit
0bec1eca83
5 changed files with 66 additions and 7 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue