fix: dont show tooltip if already limited (#25361)

This commit is contained in:
Ankush Menat 2024-03-12 16:20:17 +05:30 committed by GitHub
parent 59f421cd04
commit e456f2bd0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -623,7 +623,7 @@ 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.count_upper_bound == this.total_count) {
$count.attr(
"title",
__(