Skip to content
Snippets Groups Projects
Verified Commit c3aea7c7 authored by Kevin Cristiano's avatar Kevin Cristiano :earth_americas:
Browse files

check if scheduled communication extension is enabled before showing communication column

parent 4cb9905e
Branches 6.0.1
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@
this.afformAdminEnabled = CRM.checkPerm('administer afform') &&
'org.civicrm.afform_admin' in CRM.crmSearchAdmin.modules;
const scheduledCommunicationsEnabled = 'scheduled_communications' in CRM.crmSearchAdmin.modules;
const scheduledCommunicationsAllowed = CRM.checkPerm('schedule communications');
const scheduledCommunicationsAllowed = scheduledCommunicationsEnabled && CRM.checkPerm('schedule communications');
this.apiEntity = 'SavedSearch';
this.search = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment