mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 12:38:27 +00:00
fix(HR): hide "more" button from team updates
This commit is contained in:
@@ -36,7 +36,7 @@ frappe.team_updates = {
|
||||
start: me.start
|
||||
},
|
||||
callback: function(r) {
|
||||
if(r.message) {
|
||||
if (r.message && r.message.length > 0) {
|
||||
r.message.forEach(function(d) {
|
||||
me.add_row(d);
|
||||
});
|
||||
@@ -77,4 +77,4 @@ frappe.team_updates = {
|
||||
|
||||
$(frappe.render_template('team_update_row', data)).appendTo(me.body)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user