@acorex/platform 20.0.4 → 20.0.5

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.
@@ -891,17 +891,15 @@ class AXPComponentSlotDirective {
891
891
  component = config.component;
892
892
  }
893
893
  // load options
894
+ debugger;
894
895
  if (typeof config.options === 'function') {
895
896
  runInInjectionContext(this.injector, () => {
896
897
  const fun = config.options;
897
898
  options = fun();
898
899
  });
899
900
  }
900
- else if (this.evaluator.isExpression(config.options)) {
901
- options = await this.evaluator.evaluate(config.options, {});
902
- }
903
901
  else if (config.options) {
904
- options = config.options;
902
+ options = await this.evaluator.evaluate(config.options, {});
905
903
  }
906
904
  // apply options and host
907
905
  const componentRef = this.viewContainerRef.createComponent(component);