FIX: incorrect interpolation was limiting to 1 dispatch / component (#14470)

This commit is contained in:
Joffrey JAFFEUX 2021-09-29 11:14:53 +02:00 committed by GitHub
parent a1745e05ae
commit fc432a9cab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1461,7 +1461,8 @@ class PluginApi {
this.modifyClass(
`component:${mountedComponent}`,
{
pluginId: `#{mountedComponent}/#{widgetKey}/#{appEvent}`,
pluginId: `${mountedComponent}/${widgetKey}/${appEvent}`,
didInsertElement() {
this._super();
this.dispatch(appEvent, widgetKey);