mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 06:08:10 +00:00
fixed transactions order
This commit is contained in:
@@ -39,6 +39,8 @@ class HistoryPageElement extends BasePageElement {
|
|||||||
options['walletId'] = walletId;
|
options['walletId'] = walletId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
options.embed = 'TransactionType';
|
||||||
|
options.sortBy = 'transactionDate|desc';
|
||||||
const response = await this.transactionsService.getAll(options);
|
const response = await this.transactionsService.getAll(options);
|
||||||
return response;
|
return response;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ class WalletPageElement extends BasePageElement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
options.embed = 'TransactionType';
|
options.embed = 'TransactionType';
|
||||||
|
options.sortBy = 'transactionDate|desc';
|
||||||
const response = await this.transactionsService.getAll(options);
|
const response = await this.transactionsService.getAll(options);
|
||||||
return response;
|
return response;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
@@ -1,29 +1,31 @@
|
|||||||
menu-layout {
|
menu-layout {
|
||||||
[data-target="menu-layout.appPage"] {
|
[data-target='menu-layout.appPage'] {
|
||||||
display: grid;
|
display: grid;
|
||||||
width: 100%;
|
position: relative;
|
||||||
min-height: 100vh;
|
height: 100%;
|
||||||
grid-template-columns: 301px auto;
|
width: 100%;
|
||||||
grid-template-areas: "sidebar content";
|
min-height: 100vh;
|
||||||
|
grid-template-columns: 301px auto;
|
||||||
|
grid-template-areas: 'sidebar content';
|
||||||
|
|
||||||
app-menu {
|
app-menu {
|
||||||
[data-target="app-menu.sidebar"] {
|
[data-target='app-menu.sidebar'] {
|
||||||
grid-area: sidebar;
|
grid-area: sidebar;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 301px;
|
width: 301px;
|
||||||
border-right: 1px solid $gray-08;
|
border-right: 1px solid $gray-08;
|
||||||
background-color: $black;
|
background-color: $black;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
app-slot {
|
app-slot {
|
||||||
[data-target="base-layout.content"] {
|
[data-target='base-layout.content'] {
|
||||||
grid-area: content;
|
grid-area: content;
|
||||||
margin: 15px;
|
margin: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user