Skip to content

Commit

Permalink
Merge pull request #22818 from JMAConsulting/add-checkperm
Browse files Browse the repository at this point in the history
add checkPerm
  • Loading branch information
colemanw authored Feb 23, 2022
2 parents 773d05b + eeb435c commit 43d4be7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ang/crmMailing/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@
scope.crmMailingConst = CRM.crmMailing;
scope.ts = CRM.ts(null);
scope.hs = crmUiHelp({file: 'CRM/Mailing/MailingUI'});
scope.checkPerm = CRM.checkPerm;
scope[directiveName] = attr[directiveName] ? scope.$parent.$eval(attr[directiveName]) : {};
$q.when(crmMetadata.getFields('Mailing'), function(fields) {
scope.mailingFields = fields;
Expand Down

0 comments on commit 43d4be7

Please sign in to comment.