Various fixes.

This commit is contained in:
gerlofvanek 2025-02-25 20:05:49 +01:00
parent 210fab9a90
commit 957c0fbff6
4 changed files with 605 additions and 197 deletions

View file

@ -153,10 +153,10 @@ const getStatusClass = (status, tx_a, tx_b) => {
return 'bg-gray-200 text-black dark:bg-gray-400 dark:text-white';
case 'Error':
case 'Failed':
return 'bg-red-300 text-black dark:bg-red-600 dark:text-white';
case 'Failed, swiped':
return 'bg-red-300 text-black dark:bg-red-600 dark:text-white';
case 'Failed, refunded':
return 'bg-red-300 text-black dark:bg-red-600 dark:text-white';
return 'bg-gray-200 text-black dark:bg-gray-400 dark:text-red-500';
case 'InProgress':
case 'Script coin locked':
case 'Scriptless coin locked':
@ -283,7 +283,7 @@ const WebSocketManager = {
state.wsConnected = true;
this.reconnectAttempts = 0;
updateConnectionStatus('connected');
console.log('🟢 WebSocket connection established');
console.log('🟢 WebSocket connection established for Swaps in Progress');
updateSwapsTable({ resetPage: true, refreshData: true });
};

View file

@ -374,7 +374,7 @@ const WebSocketManager = {
state.wsConnected = true;
this.reconnectAttempts = 0;
updateConnectionStatus('connected');
console.log('🟢 WebSocket connection established');
console.log('🟢 WebSocket connection established for Bid Requests');
updateBidsTable({ resetPage: true, refreshData: true });
};

View file

@ -94,7 +94,7 @@ const BidExporter = {
const now = new Date();
const dateStr = now.toISOString().split('T')[0];
const filename = `${type}_bids_${dateStr}.csv`;
const filename = `bsx_${type}_bids_${dateStr}.csv`;
this.download(csvContent, filename);
}

File diff suppressed because it is too large Load diff