fix: Dont show estimate tooltip on small counts (#33556)
These are "accurate" even with max limits.
This commit is contained in:
parent
93b77757d8
commit
f28c48bc83
1 changed files with 4 additions and 1 deletions
|
|
@ -652,7 +652,10 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList {
|
|||
let $count = this.get_count_element();
|
||||
this.get_count_str().then((count) => {
|
||||
$count.html(`<span>${count}</span>`);
|
||||
if (this.count_upper_bound) {
|
||||
if (
|
||||
this.count_upper_bound &&
|
||||
(this.total_count == this.count_upper_bound || this.total_count == null)
|
||||
) {
|
||||
$count.attr(
|
||||
"title",
|
||||
__(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue