diff --git a/frontend/src/Editor/Inspector/EventManager.jsx b/frontend/src/Editor/Inspector/EventManager.jsx index 9acf254b06..1733c11a26 100644 --- a/frontend/src/Editor/Inspector/EventManager.jsx +++ b/frontend/src/Editor/Inspector/EventManager.jsx @@ -431,6 +431,7 @@ export const EventManager = ({ } const events = component.component.definition.events || []; + const componentName = componentMeta.name ? componentMeta.name : 'query'; if (events.length === 0) { return ( @@ -444,7 +445,9 @@ export const EventManager = ({
- This table doesn't have any events + + This {componentName.toLowerCase()} doesn't have any event handlers +
);