@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.
@@ -801,8 +801,8 @@
801
801
  * @return {?}
802
802
  */
803
803
  function (widget) {
804
- if (widget.widgetSettings && typeof widget.widgetSettings === 'string') {
805
- widget.widgetSettings = JSON.parse(widget.widgetSettings);
804
+ if (widget.widgetSettings) {
805
+ widget.settings = JSON.parse(widget.widgetSettings);
806
806
  }
807
807
  /** @type {?} */
808
808
  var gridsterItem = (/** @type {?} */ ({
@@ -846,8 +846,8 @@
846
846
  */
847
847
  function (widget) {
848
848
  if (this.IsDesktopView) {
849
- if (widget.widgetSettings && widget.widgetSettings.minRows) {
850
- return widget.widgetSettings.minRows;
849
+ if (widget.settings && widget.settings.minRows) {
850
+ return widget.settings.minRows;
851
851
  }
852
852
  }
853
853
  };
@@ -863,8 +863,8 @@
863
863
  */
864
864
  function (widget) {
865
865
  if (this.IsDesktopView) {
866
- if (widget.widgetSettings && widget.widgetSettings.minCols) {
867
- return widget.widgetSettings.minCols;
866
+ if (widget.settings && widget.settings.minCols) {
867
+ return widget.settings.minCols;
868
868
  }
869
869
  }
870
870
  };