fix: Set with_timestamp=false by default
This commit is contained in:
parent
48e16de859
commit
0e077dbfa8
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ Object.assign(frappe.energy_points, {
|
|||
}
|
||||
return __('via automatic rule {0} for {1}', [log.rule.bold(), doc_link]);
|
||||
},
|
||||
format_log(log, with_timestamp=true) {
|
||||
format_log(log, with_timestamp=false) {
|
||||
let formatted_log = `<span>
|
||||
${this.get_points(log.points)} ${this.log_message(log)}
|
||||
${ with_timestamp ? '<span> - </span>' + frappe.datetime.comment_when(log.creation):''}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue