mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-11-11 07:41:09 +00:00
fixed transactions order
This commit is contained in:
@@ -39,6 +39,8 @@ class HistoryPageElement extends BasePageElement {
|
||||
options['walletId'] = walletId;
|
||||
}
|
||||
}
|
||||
options.embed = 'TransactionType';
|
||||
options.sortBy = 'transactionDate|desc';
|
||||
const response = await this.transactionsService.getAll(options);
|
||||
return response;
|
||||
} catch (err) {
|
||||
|
||||
@@ -51,6 +51,7 @@ class WalletPageElement extends BasePageElement {
|
||||
}
|
||||
}
|
||||
options.embed = 'TransactionType';
|
||||
options.sortBy = 'transactionDate|desc';
|
||||
const response = await this.transactionsService.getAll(options);
|
||||
return response;
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user