@dereekb/dbx-core 5.2.1 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1102,8 +1102,7 @@ class DbxActionDisabledDirective extends AbstractSubscriptionDirective {
1102
1102
  return this._disabled.value;
1103
1103
  }
1104
1104
  set disabled(disabled) {
1105
- const disable = disabled !== false;
1106
- this._disabled.next(disable);
1105
+ this._disabled.next(disabled !== false);
1107
1106
  }
1108
1107
  }
1109
1108
  DbxActionDisabledDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionDisabledDirective, deps: [{ token: DbxActionContextStoreSourceInstance, host: true }], target: i0.ɵɵFactoryTarget.Directive });
@@ -1389,7 +1388,7 @@ class DbxActionEnforceModifiedDirective extends AbstractSubscriptionDirective {
1389
1388
  return this._enabled.value;
1390
1389
  }
1391
1390
  set enabled(enabled) {
1392
- this._enabled.next(Boolean(enabled) ?? true);
1391
+ this._enabled.next(enabled !== false);
1393
1392
  }
1394
1393
  }
1395
1394
  DbxActionEnforceModifiedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionEnforceModifiedDirective, deps: [{ token: DbxActionContextStoreSourceInstance, host: true }], target: i0.ɵɵFactoryTarget.Directive });