Browse Source

Update npm/packs/core/src/abp.js

Co-authored-by: Halil İbrahim Kalkan <hi_kalkan@yahoo.com>
pull/12553/head
maliming 4 years ago
committed by GitHub
parent
commit
c73cf21bd9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      npm/packs/core/src/abp.js

2
npm/packs/core/src/abp.js

@ -777,7 +777,7 @@ var abp = abp || {};
abp.globalFeatures = abp.globalFeatures || {};
abp.globalFeatures.enabledFeatures = abp.globalFeatures.enabledFeatures || {};
abp.globalFeatures.enabledFeatures = abp.globalFeatures.enabledFeatures || [];
abp.globalFeatures.isEnabled = function(name){
return abp.globalFeatures.enabledFeatures.indexOf(name) != -1;

Loading…
Cancel
Save