@schneideress/dashboardframework 0.0.184 → 0.0.185

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.
@@ -595,8 +595,8 @@ var RADashboardResponsiveService = /** @class */ (function () {
595
595
  * @return {?}
596
596
  */
597
597
  function (widget) {
598
- if (widget.widgetSettings && typeof widget.widgetSettings === 'string') {
599
- widget.widgetSettings = JSON.parse(widget.widgetSettings);
598
+ if (widget.widgetSettings) {
599
+ widget.settings = JSON.parse(widget.widgetSettings);
600
600
  }
601
601
  /** @type {?} */
602
602
  var gridsterItem = (/** @type {?} */ ({
@@ -640,8 +640,8 @@ var RADashboardResponsiveService = /** @class */ (function () {
640
640
  */
641
641
  function (widget) {
642
642
  if (this.IsDesktopView) {
643
- if (widget.widgetSettings && widget.widgetSettings.minRows) {
644
- return widget.widgetSettings.minRows;
643
+ if (widget.settings && widget.settings.minRows) {
644
+ return widget.settings.minRows;
645
645
  }
646
646
  }
647
647
  };
@@ -657,8 +657,8 @@ var RADashboardResponsiveService = /** @class */ (function () {
657
657
  */
658
658
  function (widget) {
659
659
  if (this.IsDesktopView) {
660
- if (widget.widgetSettings && widget.widgetSettings.minCols) {
661
- return widget.widgetSettings.minCols;
660
+ if (widget.settings && widget.settings.minCols) {
661
+ return widget.settings.minCols;
662
662
  }
663
663
  }
664
664
  };