Browse Source

MSPB-132: Avoid deleting non-smartpbx created feature codes (#263)

4.3
Joris Tirado 5 years ago
committed by GitHub
parent
commit
2f120e5ed1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      submodules/strategy/strategy.js

+ 1
- 2
submodules/strategy/strategy.js View File

@ -3472,8 +3472,7 @@ define(function(require) {
entriesProp = _.get(configToEntries, configProp),
entries = _.get(featureCode, entriesProp);
return _.isUndefined(config)
|| !_.isEqual(entries, [expectedEntry]);
return !_.isUndefined(config) && !_.isEqual(entries, [expectedEntry]);
},
createFeatureCodeFactory = function createFeatureCodeFactory(featureCode) {
return function(callback) {


Loading…
Cancel
Save