monkey-front-core 0.0.193 → 0.0.196

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.
@@ -2220,10 +2220,10 @@ class MonkeyEcxCommonsService {
2220
2220
  const { config, feature } = args;
2221
2221
  try {
2222
2222
  if (!MonkeyEcxUtils.persistNullEmptyUndefined(feature) ||
2223
- !MonkeyEcxUtils.persistNullEmptyUndefined(config?.program?.settings[feature])) {
2224
- return false;
2223
+ !MonkeyEcxUtils.persistNullEmptyUndefined(config?.program?.settings)) {
2224
+ return true;
2225
2225
  }
2226
- return !config?.program?.settings[feature];
2226
+ return !config?.program?.settings?.[feature];
2227
2227
  }
2228
2228
  catch (e) {
2229
2229
  // not to do
@@ -4483,10 +4483,10 @@ class MonkeyEcxFeatureByProgramDirective {
4483
4483
  const { feature, config } = this;
4484
4484
  let display = 'none';
4485
4485
  if (!MonkeyEcxUtils.persistNullEmptyUndefined(feature) ||
4486
- !MonkeyEcxUtils.persistNullEmptyUndefined(config?.program?.settings[feature])) {
4486
+ !MonkeyEcxUtils.persistNullEmptyUndefined(config?.program?.settings)) {
4487
4487
  return;
4488
4488
  }
4489
- const disabled = config?.program?.settings[feature];
4489
+ const disabled = config?.program?.settings?.[feature];
4490
4490
  if (!disabled) {
4491
4491
  display = 'block';
4492
4492
  }