forked from lthn/blockchain
fixed transaction sync issue (#223)
This commit is contained in:
parent
7e972a4321
commit
06ce740345
4 changed files with 3 additions and 5 deletions
|
|
@ -3573,7 +3573,7 @@ var AppComponent = /** @class */ (function () {
|
|||
var wallet = _this.variablesService.getWallet(wallet_id);
|
||||
if (wallet) {
|
||||
if (wallet.history.length > 40) {
|
||||
wallet.history.splice(0, 1);
|
||||
wallet.history.splice(40, 1);
|
||||
}
|
||||
_this.ngZone.run(function () {
|
||||
if (!wallet.loaded) {
|
||||
|
|
@ -8896,7 +8896,6 @@ var WalletComponent = /** @class */ (function () {
|
|||
clearTimeout(_this.copyAnimationTimeout);
|
||||
_this.copyAnimation = false;
|
||||
_this.mining = _this.variablesService.currentWallet.exclude_mining_txs;
|
||||
_this.getRecentTransfers();
|
||||
});
|
||||
this.subRouting2 = this.router.events.subscribe(function (val) {
|
||||
if (val instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__["RoutesRecognized"]) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -249,7 +249,7 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||
const wallet = this.variablesService.getWallet(wallet_id);
|
||||
if (wallet) {
|
||||
if(wallet.history.length > 40) {
|
||||
wallet.history.splice(0, 1);
|
||||
wallet.history.splice(40, 1);
|
||||
}
|
||||
this.ngZone.run(() => {
|
||||
|
||||
|
|
|
|||
|
|
@ -107,7 +107,6 @@ export class WalletComponent implements OnInit, OnDestroy {
|
|||
clearTimeout(this.copyAnimationTimeout);
|
||||
this.copyAnimation = false;
|
||||
this.mining = this.variablesService.currentWallet.exclude_mining_txs;
|
||||
this.getRecentTransfers();
|
||||
});
|
||||
this.subRouting2 = this.router.events.subscribe(val => {
|
||||
if (val instanceof RoutesRecognized) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue