+ refresh address list
* changed icon for transactions refresh button
This commit is contained in:
@@ -24,7 +24,7 @@ class tableTransactions {
|
||||
"buttons":
|
||||
[
|
||||
{
|
||||
text: 'Refresh',
|
||||
text: '<i class="fas fa-sync-alt"></i>',
|
||||
action: function ( e, dt, node, config ) {
|
||||
EthoTransactions.renderTransactions();
|
||||
}
|
||||
|
||||
@@ -42,6 +42,7 @@ class Wallets {
|
||||
|
||||
enableButtonTooltips() {
|
||||
EthoUtils.createToolTip("#btnNewAddress", "Create New Address");
|
||||
EthoUtils.createToolTip("#btnRefreshAddress", "Refresh Address List");
|
||||
EthoUtils.createToolTip("#btnExportAccounts", "Export Accounts");
|
||||
EthoUtils.createToolTip("#btnImportAccounts", "Import Accounts");
|
||||
EthoUtils.createToolTip("#btnImportFromPrivateKey", "Import From Private Key");
|
||||
@@ -173,6 +174,10 @@ $(document).on("render_wallets", function() {
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$("#btnRefreshAddress").off('click').on('click', function() {
|
||||
EthoWallets.renderWalletsState();
|
||||
});
|
||||
|
||||
$("#btnExportAccounts").off('click').on('click', function() {
|
||||
ipcRenderer.send('exportAccounts', {});
|
||||
|
||||
Reference in New Issue
Block a user