mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 20:11:22 +00:00
First full transaction list (again) and removed some google table references.
This commit is contained in:
@@ -7,14 +7,8 @@ $(function () {
|
||||
$('.updateIncome').on('click', updateIncome);
|
||||
|
||||
|
||||
if (typeof(googleTable) == 'function') {
|
||||
if (typeof componentID != 'undefined' && typeof repetitionID == 'undefined') {
|
||||
googleTable('table/component/' + componentID + '/0/transactions', 'transactions');
|
||||
googleColumnChart('chart/component/' + componentID + '/spending/' + year, 'componentOverview');
|
||||
|
||||
} else if (typeof componentID != 'undefined' && typeof repetitionID != 'undefined') {
|
||||
googleTable('table/component/' + componentID + '/' + repetitionID + '/transactions', 'transactions');
|
||||
}
|
||||
if (typeof componentID != 'undefined' && typeof repetitionID == 'undefined') {
|
||||
googleColumnChart('chart/component/' + componentID + '/spending/' + year, 'componentOverview');
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user