mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-16 14:48:11 +00:00
Small updates to icons and code.
This commit is contained in:
@@ -14,8 +14,9 @@ function getBoxAmounts() {
|
||||
for (x in boxes) {
|
||||
var box = boxes[x];
|
||||
$.getJSON('/json/box', {box: box}).success(function (data) {
|
||||
"use strict";
|
||||
$('#box-' + data.box).html(data.amount);
|
||||
if(data.amount_raw != 0) {
|
||||
$('#box-' + data.box).html(data.amount);
|
||||
}
|
||||
}).fail(function () {
|
||||
console.log('Failed to get box!')
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user