forked from lthn/blockchain
Develop (#216)
* fixed issue when user at first typing '.' in field amount * show amount value in modal without 0 * changed wallet colors style * Implement master password confirmation * Small GUI bugs-> added translate for scale * Unexpected screen after clicking 'go back' * #154->Make alias registration error messages more informative * added Wallet Status on Lock-Screen * cleaned unused code * changed ! to i in sidebar * fixed ng build --prod issue * 139 -> Search in History tab * restored wallet text after not right merge * hide for Tracking wallet 'send' and 'contracts' tabs * 163-> GUI: tx history pagination is not working sometimes
This commit is contained in:
parent
1c78e4c2c6
commit
0a78a09283
3 changed files with 8 additions and 2 deletions
|
|
@ -3563,6 +3563,9 @@ var AppComponent = /** @class */ (function () {
|
|||
var tr_info = data.ti;
|
||||
var wallet = _this.variablesService.getWallet(wallet_id);
|
||||
if (wallet) {
|
||||
if (wallet.history.length > 40) {
|
||||
wallet.history.splice(0, 1);
|
||||
}
|
||||
_this.ngZone.run(function () {
|
||||
if (!wallet.loaded) {
|
||||
wallet.balance = data.balance;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -15,7 +15,7 @@ import {ModalService} from './_helpers/services/modal.service';
|
|||
styleUrls: ['./app.component.scss']
|
||||
})
|
||||
export class AppComponent implements OnInit, OnDestroy {
|
||||
|
||||
|
||||
intervalUpdatePriceState;
|
||||
intervalUpdateContractsState;
|
||||
expMedTsEvent;
|
||||
|
|
@ -248,6 +248,9 @@ 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);
|
||||
}
|
||||
this.ngZone.run(() => {
|
||||
|
||||
if (!wallet.loaded) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue