plmt-constructor-sdk 0.13.6 → 0.13.7
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.
|
@@ -100,7 +100,9 @@ exports.provideDataTo = provideDataTo;
|
|
|
100
100
|
function getDataSettingsEvents(widget, key) {
|
|
101
101
|
const dataSettings = key === widget_1.widgetDefaultKey
|
|
102
102
|
? widget.dataSettings
|
|
103
|
-
: widget.dataSettings
|
|
103
|
+
: widget.dataSettings?.hasOwnProperty(key)
|
|
104
|
+
? widget.dataSettings[key]
|
|
105
|
+
: widget.dataSettings;
|
|
104
106
|
if (dataSettings)
|
|
105
107
|
return {
|
|
106
108
|
events: dataSettings.events,
|