@trops/dash-core 0.1.276 → 0.1.277
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.
- package/dist/index.esm.js +5 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -29432,6 +29432,11 @@ var ComponentManager = {
|
|
|
29432
29432
|
// otherwise fall back to the provided widgetKey for backward compatibility
|
|
29433
29433
|
var registrationKey = config.id || widgetKey;
|
|
29434
29434
|
tempComponentMap[registrationKey] = ComponentConfigModel(config);
|
|
29435
|
+
// Also register under plain component name for backward compat
|
|
29436
|
+
// (dashboards may reference "SlackWidget" instead of "trops.slack.SlackWidget")
|
|
29437
|
+
if (config.id && config.id !== widgetKey && !tempComponentMap[widgetKey]) {
|
|
29438
|
+
tempComponentMap[widgetKey] = tempComponentMap[registrationKey];
|
|
29439
|
+
}
|
|
29435
29440
|
this.setComponentMap(tempComponentMap);
|
|
29436
29441
|
},
|
|
29437
29442
|
/**
|