fix: Include only appreciation and criticism logs for review pills
This commit is contained in:
parent
7e8fc8f69e
commit
e8cd9dc4c6
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ frappe.ui.form.Review = class Review {
|
|||
}
|
||||
update_reviewers() {
|
||||
const review_logs = this.frm.get_docinfo().energy_point_logs
|
||||
.filter(log => log.type !== 'Auto');
|
||||
.filter(log => ['Appreciation', 'Criticism'].includes(log.type));
|
||||
|
||||
this.review_list_wrapper.find('.review-pill').remove();
|
||||
review_logs.forEach(log => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue