do not load communication if no permission
diff --git a/erpnext/support/doctype/communication/communication.js b/erpnext/support/doctype/communication/communication.js
index afa853d..7928d96 100644
--- a/erpnext/support/doctype/communication/communication.js
+++ b/erpnext/support/doctype/communication/communication.js
@@ -71,7 +71,7 @@
// Render List
cur_frm.cscript.render_list = function(doc, doctype, wrapper, ListView, make_new_doc) {
wn.model.with_doctype(doctype, function(r) {
- if(r && r['403']) {
+ if(r) {
return;
}
var RecordListView = wn.views.RecordListView.extend({