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
1 changed files with 2 additions and 1 deletions

View File

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