|
@ -578,14 +578,17 @@ var Dashboard = function() { |
|
|
} |
|
|
} |
|
|
}, 1000); |
|
|
}, 1000); |
|
|
|
|
|
|
|
|
/*var RefreshEdexWalletList = setInterval(function() { |
|
|
var CheckIfIguanaRunning = setInterval(function() { |
|
|
if ( sessionStorage.getItem('IguanaActiveAccount') === null || sessionStorage.getItem('DashboardActions') === null || sessionStorage.getItem('DashboardActions') === "stop" ) { |
|
|
if ( sessionStorage.getItem('IguanaActiveAccount') === null ) { |
|
|
clearInterval(RefreshEdexWalletList); |
|
|
//clearInterval(CheckIfIguanaRunning);
|
|
|
//console.log('=> No wallet logged in, or Dashboard not ative. No need to Run History.');
|
|
|
//console.log('=> No wallet logged in, or Dashboard not ative. No need to Run History.');
|
|
|
} else if ( sessionStorage.getItem('DashboardActions') === null || sessionStorage.getItem('DashboardActions') === "start") { |
|
|
} else { |
|
|
refreshEDEXCoinWalletList() |
|
|
Iguana_activehandle().then(function(result){ |
|
|
|
|
|
//console.log(result)
|
|
|
|
|
|
console.log("Iguana is running"); |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
}, 30000);*/ |
|
|
}, 1000); |
|
|
|
|
|
|
|
|
var RefreshEdexWalletDashboard = setInterval(function() { |
|
|
var RefreshEdexWalletDashboard = setInterval(function() { |
|
|
if ( sessionStorage.getItem('IguanaActiveAccount') === null || sessionStorage.getItem('DashboardActions') === null || sessionStorage.getItem('DashboardActions') === "stop" ) { |
|
|
if ( sessionStorage.getItem('IguanaActiveAccount') === null || sessionStorage.getItem('DashboardActions') === null || sessionStorage.getItem('DashboardActions') === "stop" ) { |
|
|