@schneideress/dashboardframework 20.0.3 → 20.0.4
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.
|
@@ -1458,7 +1458,7 @@ class GridsterComponent {
|
|
|
1458
1458
|
if (changes['options']) {
|
|
1459
1459
|
this.setOptions();
|
|
1460
1460
|
this.options.api = {
|
|
1461
|
-
optionsChanged: this.optionsChanged
|
|
1461
|
+
optionsChanged: this.optionsChanged?.bind(this),
|
|
1462
1462
|
resize: this.onResize.bind(this),
|
|
1463
1463
|
getNextPossiblePosition: this.getNextPossiblePosition.bind(this),
|
|
1464
1464
|
getFirstPossiblePosition: this.getFirstPossiblePosition.bind(this),
|
|
@@ -4431,7 +4431,7 @@ class RAWidgetContainer {
|
|
|
4431
4431
|
}
|
|
4432
4432
|
}
|
|
4433
4433
|
async setDownloadIcon() {
|
|
4434
|
-
let downloadType = await this.widgetElement
|
|
4434
|
+
let downloadType = await this.widgetElement?.getDownloadType();
|
|
4435
4435
|
this.downloadIconType = downloadType;
|
|
4436
4436
|
this.isDownloadIconVisible = false;
|
|
4437
4437
|
this.isChartDownloadVisible = false;
|