@schneideress/dashboardframework 0.0.86 → 0.0.87

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.
@@ -1677,6 +1677,7 @@
1677
1677
  * @return {?}
1678
1678
  */
1679
1679
  function () { return __awaiter(_this, void 0, void 0, function () {
1680
+ var titleLineEnabled;
1680
1681
  var _this = this;
1681
1682
  return __generator(this, function (_a) {
1682
1683
  switch (_a.label) {
@@ -1691,6 +1692,10 @@
1691
1692
  else
1692
1693
  _this.showPanel = false;
1693
1694
  }));
1695
+ titleLineEnabled = widgetContainer.widgetElement.titleLineEnabled();
1696
+ if (typeof (titleLineEnabled) != 'undefined') {
1697
+ this.enableTitleLine = titleLineEnabled;
1698
+ }
1694
1699
  widgetContainer.isWidgetLoaded = true;
1695
1700
  widgetConfigFilter.appConfig = this.appConfig;
1696
1701
  widgetConfigFilter.widgetInfo = widgetInfo;
@@ -1730,7 +1735,7 @@
1730
1735
  */
1731
1736
  function (widgetInfo) {
1732
1737
  return __awaiter(this, void 0, void 0, function () {
1733
- var widgetContainerContext, widgetConfigFilter, titleLineEnabled;
1738
+ var widgetContainerContext, widgetConfigFilter;
1734
1739
  return __generator(this, function (_a) {
1735
1740
  switch (_a.label) {
1736
1741
  case 0:
@@ -1743,10 +1748,6 @@
1743
1748
  }));
1744
1749
  if (!widgetContainerContext.isWidgetLoaded) return [3 /*break*/, 3];
1745
1750
  widgetContainerContext.widgetElement.loadContent(widgetConfigFilter);
1746
- titleLineEnabled = widgetContainerContext.widgetElement.titleLineEnabled();
1747
- if (typeof (titleLineEnabled) != 'undefined') {
1748
- this.enableTitleLine = titleLineEnabled;
1749
- }
1750
1751
  return [4 /*yield*/, this.setLock(widgetConfigFilter.config)];
1751
1752
  case 1:
1752
1753
  _a.sent();