|
|
|
@ -124,6 +124,11 @@ function baseReducer (state = initialState, action) { |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
case 'TRANSACTION_BATCH_EXPANDED': { |
|
|
|
|
return Object.assign({}, state, { |
|
|
|
|
transactionsBatch: [] |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
case 'RECEIVED_UPDATED_TRANSACTION_STATS': { |
|
|
|
|
return Object.assign({}, state, { |
|
|
|
|
transactionStats: action.msg.stats |
|
|
|
@ -339,6 +344,17 @@ if ($chainDetailsPage.length) { |
|
|
|
|
type: 'RECEIVED_UPDATED_TRANSACTION_STATS', |
|
|
|
|
msg: msg |
|
|
|
|
})) |
|
|
|
|
|
|
|
|
|
const $txReloadButton = $('[data-selector="reload-transactions-button"]') |
|
|
|
|
const $channelBatching = $('[data-selector="channel-batching-message"]') |
|
|
|
|
$txReloadButton.on('click', (event) => { |
|
|
|
|
event.preventDefault() |
|
|
|
|
loadTransactions(store) |
|
|
|
|
$channelBatching.hide() |
|
|
|
|
store.dispatch({ |
|
|
|
|
type: 'TRANSACTION_BATCH_EXPANDED' |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function loadTransactions (store) { |
|
|
|
|