fix: update format

This commit is contained in:
venkat102 2024-09-20 12:25:40 +05:30
parent fc0e37d52c
commit 85cbe32630

View file

@ -1043,10 +1043,15 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
if (options.fieldtype) {
options.tooltipOptions = {
formatTooltipY: (d) =>
frappe.format(d, {
fieldtype: options.fieldtype,
options: options.options,
}, options.options, options),
frappe.format(
d,
{
fieldtype: options.fieldtype,
options: options.options,
},
options.options,
options
),
};
}
options.axisOptions = {