Merge pull request #24106 from eileenmcnaughton/offline
[civicrm-core.git] / ang / exportui / exportui.js
index 88bb01a268a131dde8127d94e16e2eb93a537e4b..91a8ee5e7316526049049cfb78499c7bfd1fd395 100644 (file)
@@ -22,6 +22,9 @@
       contact_type: '',
       columns: []
     };
+    $scope.perms = {
+      admin: CRM.checkPerm('administer CiviCRM')
+    };
     // For the "add new field" dropdown
     $scope.new = {col: ''};
     var contactTypes = _.transform($scope.contact_types, function(result, type) {