fix: use frappe.utils.shorten_number
This commit is contained in:
parent
c394488f79
commit
beec0b48fb
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ export default class NumberCardWidget extends Widget {
|
|||
result: this.number
|
||||
}).then(res => {
|
||||
if (res !== undefined) {
|
||||
this.percentage_stat = shorten_number(res);
|
||||
this.percentage_stat = frappe.utils.shorten_number(res);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue