fixed transactions order

This commit is contained in:
Fran Jurmanović
2021-06-19 23:04:43 +02:00
parent 0be43f7e95
commit 21bee9d477
3 changed files with 30 additions and 25 deletions

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -1,29 +1,31 @@
menu-layout {
[data-target="menu-layout.appPage"] {
display: grid;
width: 100%;
min-height: 100vh;
grid-template-columns: 301px auto;
grid-template-areas: "sidebar content";
[data-target='menu-layout.appPage'] {
display: grid;
position: relative;
height: 100%;
width: 100%;
min-height: 100vh;
grid-template-columns: 301px auto;
grid-template-areas: 'sidebar content';
app-menu {
[data-target="app-menu.sidebar"] {
grid-area: sidebar;
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 301px;
border-right: 1px solid $gray-08;
background-color: $black;
}
}
app-menu {
[data-target='app-menu.sidebar'] {
grid-area: sidebar;
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 301px;
border-right: 1px solid $gray-08;
background-color: $black;
}
}
app-slot {
[data-target="base-layout.content"] {
grid-area: content;
margin: 15px;
}
}
}
app-slot {
[data-target='base-layout.content'] {
grid-area: content;
margin: 15px;
}
}
}
}