mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
[fix] item attribute validation, fixes #5308
This commit is contained in:
@@ -65,7 +65,7 @@ erpnext.stock.ItemDashboard = Class.extend({
|
||||
this.max_count = this.max_count;
|
||||
|
||||
// show more button
|
||||
if(data.length===21) {
|
||||
if(data && data.length===21) {
|
||||
this.content.find('.more').removeClass('hidden');
|
||||
|
||||
// remove the last element
|
||||
|
||||
Reference in New Issue
Block a user