mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Expand index.
This commit is contained in:
@@ -73,9 +73,11 @@ let index = function () {
|
||||
this.getTransactions(this.page);
|
||||
},
|
||||
getTransactions(page) {
|
||||
const urlParts = window.location.href.split('/');
|
||||
const type = urlParts[urlParts.length - 1];
|
||||
let getter = new Get();
|
||||
|
||||
getter.list({page: page}).then(response => {
|
||||
getter.list({page: page, type: type}).then(response => {
|
||||
this.parseTransactions(response.data.data)
|
||||
|
||||
// set meta data
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-header">{{ strtoupper(__('firefly.accounting')) }}</li>
|
||||
<li class="nav-item">
|
||||
<li class="nav-item @partialroute('transactions') menu-open @endpartialroute">
|
||||
<a href="#" class="nav-link">
|
||||
<em class="nav-icon fa-solid fa-arrow-right-arrow-left"></em>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user