@churchillliving/se-ui-toolkit 6.53.410 → 6.53.411

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.
@@ -8376,7 +8376,7 @@
8376
8376
  SideBarService.prototype.attachComponentContainer = function (outlet, menu) {
8377
8377
  var containerPortal = new portal.ComponentPortal(menu.component, null);
8378
8378
  var containerRef = outlet.attach(containerPortal);
8379
- return containerRef.instance;
8379
+ containerRef.instance.config = menu.data;
8380
8380
  };
8381
8381
  SideBarService.prototype.getStyleSheetElement = function () {
8382
8382
  var styleSheetElement = document.createElement('link');
@@ -8517,9 +8517,14 @@
8517
8517
  }
8518
8518
  }
8519
8519
  // Wait for window instance to be created
8520
- setTimeout(function () {
8521
- _this.sidebarService.createWindowInstance(menu, onNewTab ? winRef : windowRef);
8522
- }, 900);
8520
+ if (onNewTab) {
8521
+ setTimeout(function () {
8522
+ _this.sidebarService.createWindowInstance(menu, winRef);
8523
+ }, 900);
8524
+ }
8525
+ else {
8526
+ this.sidebarService.createWindowInstance(menu, windowRef);
8527
+ }
8523
8528
  };
8524
8529
  SidebarComponent.prototype.setMenuTitle = function (x) {
8525
8530
  return x.tooltip ? x.tooltip : !x.label ? x.section : '';