mirror of
https://github.com/basicswap/basicswap.git
synced 2025-04-06 14:27:30 +00:00
Various fixes.
This commit is contained in:
parent
210fab9a90
commit
957c0fbff6
4 changed files with 605 additions and 197 deletions
basicswap/static/js
|
@ -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 });
|
||||
};
|
||||
|
||||
|
|
|
@ -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 });
|
||||
};
|
||||
|
||||
|
|
|
@ -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
Loading…
Reference in a new issue