1
0
Fork 0
forked from lthn/blockchain

History tab: page is not selected by default, sent tx doesn't show up in the list

Fix for #184
This commit is contained in:
arthurest 2020-06-22 18:46:07 +04:00 committed by GitHub
parent 04f799c102
commit c9592c752d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 1 deletions

View file

@ -5540,6 +5540,8 @@ var LoginComponent = /** @class */ (function () {
else {
new_wallet.staking = false;
}
new_wallet.is_auditable = open_data['wi'].is_auditable;
new_wallet.is_watch_only = open_data['wi'].is_watch_only;
new_wallet.currentPage = 1;
if (open_data.recent_history && open_data.recent_history.history) {
new_wallet.total_history_item = open_data.recent_history.total_history_items;
@ -5910,6 +5912,7 @@ var OpenWalletModalComponent = /** @class */ (function () {
new_wallet_1.alias = _this.backend.getWalletAlias(new_wallet_1.address);
new_wallet_1.is_auditable = open_data['wi'].is_auditable;
new_wallet_1.is_watch_only = open_data['wi'].is_watch_only;
new_wallet_1.currentPage = 1;
if (open_data.recent_history && open_data.recent_history.history) {
new_wallet_1.total_history_item = open_data.recent_history.total_history_items;
new_wallet_1.totalPages = Math.ceil(open_data.recent_history.total_history_items / _this.variablesService.count);

File diff suppressed because one or more lines are too long

View file

@ -177,6 +177,8 @@ export class LoginComponent implements OnInit, OnDestroy {
} else {
new_wallet.staking = false;
}
new_wallet.is_auditable = open_data['wi'].is_auditable;
new_wallet.is_watch_only = open_data['wi'].is_watch_only;
new_wallet.currentPage = 1;
if (open_data.recent_history && open_data.recent_history.history) {
new_wallet.total_history_item = open_data.recent_history.total_history_items;

View file

@ -88,6 +88,7 @@ export class OpenWalletModalComponent implements OnInit {
new_wallet.alias = this.backend.getWalletAlias(new_wallet.address);
new_wallet.is_auditable = open_data['wi'].is_auditable;
new_wallet.is_watch_only = open_data['wi'].is_watch_only;
new_wallet.currentPage = 1;
if (open_data.recent_history && open_data.recent_history.history) {
new_wallet.total_history_item = open_data.recent_history.total_history_items;
new_wallet.totalPages = Math.ceil( open_data.recent_history.total_history_items / this.variablesService.count);