File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -460,15 +460,15 @@ export default class KitBlocker {
460460 if ( ! this . blockUserAttributes ) {
461461 return false
462462 }
463- var matchedAttributes = this . dataPlanMatchLookups [ 'user_attributes' ] ;
463+ const matchedAttributes = this . dataPlanMatchLookups [ 'user_attributes' ] ;
464464
465465 // When additionalProperties is set to true, matchedAttributes
466466 // will be a boolean, otherwise it will return an object
467467 if ( typeof matchedAttributes === 'boolean' && matchedAttributes ) {
468468 return false
469469 }
470470
471- if ( this . blockUserAttributes && typeof matchedAttributes === "object" ) {
471+ if ( typeof matchedAttributes === "object" ) {
472472 if ( matchedAttributes [ key ] === true ) {
473473 return false ;
474474 } else {
You can’t perform that action at this time.
0 commit comments