Skip to content
This repository was archived by the owner on Nov 17, 2018. It is now read-only.

Commit d52cca0

Browse files
committed
View: added $ to balances with friends.
1 parent 7eef6d8 commit d52cca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/assets/javascripts/oauth_balances_over_time_with_friends.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ this.primeCharts = (d) ->
4848
v: date,
4949
f: prettyTime(date)
5050
}
51-
].concat(balance_record.balances.map((b) -> {v: b or 0}))
51+
].concat(balance_record.balances.map((b) -> { v: b or 0, f: "$#{(b or 0).toFixed(2)}"}))
5252
})
5353
console.debug(cols)
5454
console.debug(rows)

0 commit comments

Comments
 (0)