mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-04 03:20:44 +00:00
Add cast to string to fix chart. [skip ci]
This commit is contained in:
1
public/js/ff/charts.defaults.js
vendored
1
public/js/ff/charts.defaults.js
vendored
@@ -31,6 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
function formatLabel(str, maxwidth) {
|
function formatLabel(str, maxwidth) {
|
||||||
var sections = [];
|
var sections = [];
|
||||||
|
str = String(str);
|
||||||
var words = str.split(" ");
|
var words = str.split(" ");
|
||||||
var temp = "";
|
var temp = "";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user