Skip to content

Firefly III: a personal finances manager

Boxes are empty, so even when it's zero, place the amount.

James Cole845149deeeee
diff --git a/public/js/index.js b/public/js/index.js
index 22a9081f06..6663b8a7d3 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -14,9 +14,7 @@ function getBoxAmounts() {
for (x in boxes) {
var box = boxes[x];
$.getJSON('/json/box/' + box).success(function (data) {
- if (data.amount_raw != 0) {
- $('#box-' + data.box).html(data.amount);
- }
+ $('#box-' + data.box).html(data.amount);
}).fail(function () {
console.log('Failed to get box!')
});