@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.
@@ -1488,6 +1488,7 @@ var RAWidgetContainer = /** @class */ (function () {
1488
1488
  * @return {?}
1489
1489
  */
1490
1490
  function () { return __awaiter(_this, void 0, void 0, function () {
1491
+ var titleLineEnabled;
1491
1492
  var _this = this;
1492
1493
  return __generator(this, function (_a) {
1493
1494
  switch (_a.label) {
@@ -1502,6 +1503,10 @@ var RAWidgetContainer = /** @class */ (function () {
1502
1503
  else
1503
1504
  _this.showPanel = false;
1504
1505
  }));
1506
+ titleLineEnabled = widgetContainer.widgetElement.titleLineEnabled();
1507
+ if (typeof (titleLineEnabled) != 'undefined') {
1508
+ this.enableTitleLine = titleLineEnabled;
1509
+ }
1505
1510
  widgetContainer.isWidgetLoaded = true;
1506
1511
  widgetConfigFilter.appConfig = this.appConfig;
1507
1512
  widgetConfigFilter.widgetInfo = widgetInfo;
@@ -1541,7 +1546,7 @@ var RAWidgetContainer = /** @class */ (function () {
1541
1546
  */
1542
1547
  function (widgetInfo) {
1543
1548
  return __awaiter(this, void 0, void 0, function () {
1544
- var widgetContainerContext, widgetConfigFilter, titleLineEnabled;
1549
+ var widgetContainerContext, widgetConfigFilter;
1545
1550
  return __generator(this, function (_a) {
1546
1551
  switch (_a.label) {
1547
1552
  case 0:
@@ -1554,10 +1559,6 @@ var RAWidgetContainer = /** @class */ (function () {
1554
1559
  }));
1555
1560
  if (!widgetContainerContext.isWidgetLoaded) return [3 /*break*/, 3];
1556
1561
  widgetContainerContext.widgetElement.loadContent(widgetConfigFilter);
1557
- titleLineEnabled = widgetContainerContext.widgetElement.titleLineEnabled();
1558
- if (typeof (titleLineEnabled) != 'undefined') {
1559
- this.enableTitleLine = titleLineEnabled;
1560
- }
1561
1562
  return [4 /*yield*/, this.setLock(widgetConfigFilter.config)];
1562
1563
  case 1:
1563
1564
  _a.sent();