|
|
|
@ -7,6 +7,13 @@ if (window.page === 'address') { |
|
|
|
|
.receive('ok', resp => { console.log('Joined successfully', `addresses:${window.addressHash}`, resp) }) |
|
|
|
|
.receive('error', resp => { console.log('Unable to join', `addresses:${window.addressHash}`, resp) }) |
|
|
|
|
|
|
|
|
|
const $emptyTransactionsList = $('[data-selector="empty-transactions-list"]') |
|
|
|
|
if ($emptyTransactionsList) { |
|
|
|
|
channel.on('transaction', () => { |
|
|
|
|
window.location.reload() |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const $transactionsList = $('[data-selector="transactions-list"]') |
|
|
|
|
if ($transactionsList) { |
|
|
|
|
channel.on('transaction', (msg) => { |
|
|
|
|