fix(party dashboard): empty array is truthy, check for length (#16184)
This commit is contained in:
parent
39b31ece31
commit
4c5bd253a2
@ -120,7 +120,7 @@ $.extend(erpnext.utils, {
|
||||
);
|
||||
});
|
||||
}
|
||||
else {
|
||||
else if (company_wise_info.length === 1) {
|
||||
frm.dashboard.stats_area.removeClass('hidden');
|
||||
frm.dashboard.stats_area_row.append(
|
||||
'</div><div class="col-xs-6 small" style="margin-bottom:10px">Annual Billing: <b>'
|
||||
|
Loading…
x
Reference in New Issue
Block a user