From 4f2d5907adfc66a7c8ccab74257bc7cca54bbb06 Mon Sep 17 00:00:00 2001 From: Arpit Date: Thu, 27 Jan 2022 16:20:41 +0530 Subject: [PATCH] fixes typos, text should be specific to a component (#1955) --- frontend/src/Editor/Inspector/EventManager.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 +
);